mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Add "lib" and ".piolibdeps" to CLion project index
This commit is contained in:
@ -51,4 +51,18 @@ add_custom_target(
|
|||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib)
|
||||||
|
add_custom_target(
|
||||||
|
CODE_COMPLETION_PIOLIB
|
||||||
|
SOURCES lib
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/.piolibdeps)
|
||||||
|
add_custom_target(
|
||||||
|
CODE_COMPLETION_PIOLIBDEPS
|
||||||
|
SOURCES .piolibdeps
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME} ${SRC_LIST})
|
add_executable(${PROJECT_NAME} ${SRC_LIST})
|
||||||
|
Reference in New Issue
Block a user