Computer Assited Medical Intervention Tool Kit  version 4.0
CamiTKSubProjectInit.h
Go to the documentation of this file.
11  if(CAMITK_EXTENSION_PROJECT_SET)
12  if(NOT CAMITK_XML_PROJECT_DESCRIPTION)
13  # This is a call to camitk_sub_project_init from the first CEP of a CEP Set
14  set(CAMITK_XML_PROJECT_DESCRIPTION "<?xml version=\"1.0\"?><Project name=\"${CAMITK_EXTENSION_PROJECT_SET_NAME}\">" CACHE INTERNAL "")
15  set(CAMITK_SUBPROJECTS "" CACHE INTERNAL "")
16  # for .cep packaging
17  set(CAMITK_ACTION_TARGETS "" CACHE STRING "List of CamiTK action targets" FORCE)
18  set(CAMITK_COMPONENT_TARGETS "" CACHE STRING "List of CamiTK component targets" FORCE)
19  set(CAMITK_CEP_LIBRARY_TARGETS "" CACHE STRING "List of CamiTK library targets" FORCE)
20  set(CAMITK_APPLICATION_TARGETS "" CACHE STRING "List of CamiTK application targets" FORCE)
21 
22  # The different CMake variable to parse for CDash dependencies
23  # This variables are CMake persistent
24  set(xml_subproject_corelibraries "" CACHE INTERNAL "")
25  set(xml_subproject_libraries "" CACHE INTERNAL "")
26  set(xml_subproject_action_application "" CACHE INTERNAL "")
27  set(xml_subproject_components "" CACHE INTERNAL "")
28  set(xml_subproject_actions "" CACHE INTERNAL "")
29  set(xml_subproject_applications "" CACHE INTERNAL "")
30 
31  endif()
32  else()
33  # This is a call to camitk_sub_project_init from a standalone CEP
34  set(CAMITK_XML_PROJECT_DESCRIPTION "<?xml version=\"1.0\"?><Project name=\"${CMAKE_PROJECT_NAME}\">" CACHE INTERNAL "")
35  set(CAMITK_SUBPROJECTS "" CACHE INTERNAL "")
36  # for .cep packaging
37  set(CAMITK_ACTION_TARGETS "" CACHE STRING "List of CamiTK action targets" FORCE)
38  set(CAMITK_COMPONENT_TARGETS "" CACHE STRING "List of CamiTK component targets" FORCE)
39  set(CAMITK_CEP_LIBRARY_TARGETS "" CACHE STRING "List of CamiTK library targets" FORCE)
40  set(CAMITK_APPLICATION_TARGETS "" CACHE STRING "List of CamiTK application targets" FORCE)
41 
42  # The different CMake variable to parse for CDash dependencies
43  # This variables are CMake persistent
44  set(xml_subproject_corelibraries "" CACHE INTERNAL "")
45  set(xml_subproject_libraries "" CACHE INTERNAL "")
46  set(xml_subproject_action_application "" CACHE INTERNAL "")
47  set(xml_subproject_components "" CACHE INTERNAL "")
48  set(xml_subproject_actions "" CACHE INTERNAL "")
49  set(xml_subproject_applications "" CACHE INTERNAL "")
50  endif()
51 end(){)
camitk_sub_project_init()
MACRO camitk_sub_project_init initializes the xml_subprojects variable to gather CamiTK subprojects...
Definition: CamiTKSubProjectInit.h:10