![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
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... | |
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.
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:
TARGET_TYPE | name 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 | ( | ) |
MACRO camitk_sub_project_init initializes the xml_subprojects variable to gather CamiTK subprojects.
usage:
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:
CEP_SET | (optional) should be added only if this is a CEP set validation |