mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Add custom "PLATFORMIO_BUILD_DEBUG" target for CLion
This commit is contained in:
@ -62,6 +62,12 @@ add_custom_target(
|
|||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(
|
||||||
|
PLATFORMIO_BUILD_DEBUG ALL
|
||||||
|
COMMAND ${PLATFORMIO_CMD} -f -c clion run --target debug "$<$<NOT:$<CONFIG:All>>:-e${CMAKE_BUILD_TYPE}>"
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
PLATFORMIO_UPDATE_ALL ALL
|
PLATFORMIO_UPDATE_ALL ALL
|
||||||
COMMAND ${PLATFORMIO_CMD} -f -c clion update
|
COMMAND ${PLATFORMIO_CMD} -f -c clion update
|
||||||
|
Reference in New Issue
Block a user