Computer Assisted Medical Intervention Tool Kit  version 5.2
CamiTKAddSubDirectory.h
Go to the documentation of this file.
1 camitk_add_subdirectory(){ DirectoryName)
19  if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${DirectoryName}" AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${DirectoryName}/CMakeLists.txt")
20  set(SUBDIRECTORY_MESSAGE ${CMAKE_PROJECT_NAME})
21  if(CEP_NAME AND NOT CEP_NAME STREQUAL ${CMAKE_PROJECT_NAME})
22  set(SUBDIRECTORY_MESSAGE "${SUBDIRECTORY_MESSAGE} ${CEP_NAME}")
23  endif()
24  add_subdirectory(${DirectoryName})
25  endif()
26 end(){)
cmake modules macros camitk test endif() add_custom_target(camitk-ce-iwyu COMMAND $
Definition: CamiTKIncludeWhatYouUse.h:37
iwyu out CACHE PATH Output filename for include what you use set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${IWYU_EXECUTABLE}) if(NOT EXISTS $
Definition: CamiTKIncludeWhatYouUse.h:22
camitk_add_subdirectory()
camitk_add_subdirectory is a utility macro that add a source subdirectory only if:
Definition: CamiTKAddSubDirectory.h:18