2020-01-26 14:37:33 +00:00
|
|
|
# !!! WARNING !!! AUTO-GENERATED FILE, PLEASE DO NOT MODIFY IT AND USE
|
|
|
|
# https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
|
|
|
|
#
|
|
|
|
# If you need to override existing CMake configuration or add extra,
|
|
|
|
# please create `CMakeListsUser.txt` in the root of project.
|
|
|
|
# The `CMakeListsUser.txt` will not be overwritten by PlatformIO.
|
|
|
|
|
2020-04-11 08:23:02 +00:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
set(CMAKE_SYSTEM_NAME Generic)
|
|
|
|
set(CMAKE_C_COMPILER_WORKS 1)
|
|
|
|
set(CMAKE_CXX_COMPILER_WORKS 1)
|
|
|
|
|
2020-12-05 12:45:07 +00:00
|
|
|
project("pumpensteuerung" C CXX)
|
2020-01-26 14:37:33 +00:00
|
|
|
|
|
|
|
include(CMakeListsPrivate.txt)
|
|
|
|
|
|
|
|
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/CMakeListsUser.txt)
|
|
|
|
include(CMakeListsUser.txt)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_custom_target(
|
2020-04-11 08:23:02 +00:00
|
|
|
Production ALL
|
|
|
|
COMMAND platformio -c clion run "$<$<NOT:$<CONFIG:All>>:-e${CMAKE_BUILD_TYPE}>"
|
2020-01-26 14:37:33 +00:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_custom_target(
|
2020-04-11 08:23:02 +00:00
|
|
|
Debug ALL
|
|
|
|
COMMAND platformio -c clion run --target debug "$<$<NOT:$<CONFIG:All>>:-e${CMAKE_BUILD_TYPE}>"
|
2020-01-26 14:37:33 +00:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(Z_DUMMY_TARGET ${SRC_LIST})
|