/usr/share/camitk-3.2/cmake/macros/CamiTKSubProjectInit.cmake is in libcamitk3-dev 3.2.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!
#! \addtogroup CamiTKMacros
#!
#! MACRO camitk_sub_project_init initializes the xml_subprojects variable to gather CamiTK subprojects
#!
#! usage:
#! \code
#! camitk_sub_project_init()
#! \endcode
macro(camitk_sub_project_init)
if(CAMITK_EXTENSION_PROJECT_SET)
if(NOT CAMITK_XML_PROJECT_DESCRIPTION)
# This is a call to camitk_sub_project_init from the first CEP of a CEP Set
set(CAMITK_XML_PROJECT_DESCRIPTION "<?xml version=\"1.0\"?><Project name=\"${CAMITK_EXTENSION_PROJECT_SET_NAME}\">" CACHE INTERNAL "")
set(CAMITK_SUBPROJECTS "" CACHE INTERNAL "")
# for .cep packaging
set(CAMITK_ACTION_TARGETS "" CACHE STRING "List of CamiTK action targets" FORCE)
set(CAMITK_COMPONENT_TARGETS "" CACHE STRING "List of CamiTK component targets" FORCE)
set(CAMITK_CEP_LIBRARY_TARGETS "" CACHE STRING "List of CamiTK library targets" FORCE)
set(CAMITK_APPLICATION_TARGETS "" CACHE STRING "List of CamiTK application targets" FORCE)
# otherwise (else()) this is a call to camitk_sub_project_init from the second, third... CEP
endif()
else()
# This is a call to camitk_sub_project_init from a standalone CEP
set(CAMITK_XML_PROJECT_DESCRIPTION "<?xml version=\"1.0\"?><Project name=\"${CMAKE_PROJECT_NAME}\">" CACHE INTERNAL "")
set(CAMITK_SUBPROJECTS "" CACHE INTERNAL "")
# for .cep packaging
set(CAMITK_ACTION_TARGETS "" CACHE STRING "List of CamiTK action targets" FORCE)
set(CAMITK_COMPONENT_TARGETS "" CACHE STRING "List of CamiTK component targets" FORCE)
set(CAMITK_CEP_LIBRARY_TARGETS "" CACHE STRING "List of CamiTK library targets" FORCE)
set(CAMITK_APPLICATION_TARGETS "" CACHE STRING "List of CamiTK application targets" FORCE)
endif()
endmacro()
|