20 if (EXISTS
"${CMAKE_CURRENT_SOURCE_DIR}/${DirectoryName}" AND EXISTS
"${CMAKE_CURRENT_SOURCE_DIR}/${DirectoryName}/CMakeLists.txt")
21 set(SUBDIRECTORY_MESSAGE ${CMAKE_PROJECT_NAME})
22 if(CEP_NAME AND NOT ${CEP_NAME} STREQUAL ${CMAKE_PROJECT_NAME})
23 set(SUBDIRECTORY_MESSAGE
"${SUBDIRECTORY_MESSAGE} ${CEP_NAME}")
25 add_subdirectory(${DirectoryName})
cmake modules macros camitk test endif() add_custom_target(camitk-ce-iwyu COMMAND $
Definition: CamiTKIncludeWhatYouUse.h:37
camitk_add_subdirectory()
camitk_add_subdirectory is a utility macro that add a source subdirectory only if: ...
Definition: CamiTKAddSubDirectory.h:19