Computer Assited Medical Intervention Tool Kit  version 4.0
Functions

CamiTK CMake macros for generating the listing of all the CamiTK project as a build/SubProjects.cmake and build/Project.xml files. More...

Functions

 camitk_sub_project_add ()
 macro camitk_sub_project_add adds a subproject definition from targets and its dependencies (if any) to the variable Typically recursively call this function accross all targets to generate Project.xml file. More...
 
 camitk_sub_project_init ()
 MACRO camitk_sub_project_init initializes the xml_subprojects variable to gather CamiTK subprojects. More...
 
 camitk_sub_project_validate ()
 macro camitk_sub_project_validate validates the xml_subprojects variable by ending its xml tag i.e. More...
 

Detailed Description

CamiTK CMake macros for generating the listing of all the CamiTK project as a build/SubProjects.cmake and build/Project.xml files.

These files are used by CDash and continuous integration scripts to exactly know the CMake projects to work with and their cross-dependencies.

Function Documentation

◆ camitk_sub_project_add()

camitk_sub_project_add ( )

macro camitk_sub_project_add adds a subproject definition from targets and its dependencies (if any) to the variable Typically recursively call this function accross all targets to generate Project.xml file.

Usage:

camitk_sub_project_add(ACTION|COMPONENT|CEP_LIBRARY|APPLICATION target name
[DEPENDENCIES dep1 dep2 dep3]
)
Parameters
TARGET_TYPEname the library / exe program targeted for CMake compilation
DEPENDENCIES(optional) the library dependencies to build the target

Referenced by camitk_extension(), and camitk_library().

◆ camitk_sub_project_init()

camitk_sub_project_init ( )

MACRO camitk_sub_project_init initializes the xml_subprojects variable to gather CamiTK subprojects.

usage:

◆ camitk_sub_project_validate()

camitk_sub_project_validate ( )

macro camitk_sub_project_validate validates the xml_subprojects variable by ending its xml tag i.e.

By adding the closing </Project> xml node, this will close the xml data Then create the '${CMAKE_BINARY_DIR}/Project.xml file Use this file to send to the DashBoard to get the CEP and its subprojects definition

Usage:

Parameters
CEP_SET(optional) should be added only if this is a CEP set validation