Set of PlatformIO CMake wrappers to use with cmake-based IDEs (CLion, ...)
- Add this repository as a submodule to your project:
git submodule add https://github.com/hacker-cb/platformio-cmake.git- Create
CMakeListsUser.txtwith the following content:
# PlatformIO Environment parser
include(platformio-cmake/PlatformIO_Env.cmake)
# PlatformIO CTest Wrappers
include(platformio-cmake/PlatformIO_CTest.cmake)
# Filter all source files
include(platformio-cmake/PlatformIO_FilterSources.cmake)