diff --git a/sdk/cmake/modules/macros/camitk/CamiTKApplication.cmake b/sdk/cmake/modules/macros/camitk/CamiTKApplication.cmake index c7628f0e80a2cf9843049f8df7e9355c8c503153..73c250abff577d62bcf745d9aa5f3e03d5db9289 100644 --- a/sdk/cmake/modules/macros/camitk/CamiTKApplication.cmake +++ b/sdk/cmake/modules/macros/camitk/CamiTKApplication.cmake @@ -3,8 +3,11 @@ #! #! macro camitk_application simplify writing a CMakeLists.txt for CamiTK application extension #! -#! The name of the application is automatically the name of the directory from where this macro -#! is called prefixed with "camitk-" +#! \note +#! After the execution of this macro, the variable APPLICATION_TARGET_NAME +#! holds the name of the CMake target produced by this macro. +#! The target name itself is equals to "camitk-", where is the name of the current +#! folder in lowercase. #! #! On Unix additional system resources can also be automatically installed or configured: man pages, #! desktop file and XPM icons. diff --git a/sdk/cmake/modules/macros/camitk/CamiTKExtension.cmake b/sdk/cmake/modules/macros/camitk/CamiTKExtension.cmake index 49e3298364c3f8ea4ccbef15b39807d3276268a0..b323a7fe32358bcea980ee900f1dbf9d3f4d5db2 100644 --- a/sdk/cmake/modules/macros/camitk/CamiTKExtension.cmake +++ b/sdk/cmake/modules/macros/camitk/CamiTKExtension.cmake @@ -5,6 +5,13 @@ #! #! The name of the extension is automatically the name of the directory from where this macro #! is called, unless it is overriden by the TARGET_NAME parameter. +#! +#! \note +#! To be more precise, after the execution of this macro, the variable _TARGET_NAME (e.g. +#! ACTION_TARGET_NAME or COMPONENT_TARGET_NAME) holds the name of the CMake target produced by this macro. +#! The target name itself is equals to either "action-" or "component-" (depending on the +#! of the extension), where is the name of the current folder in lowercase, unless TARGET_NAME +#! is provided #! #! usage: #! \code diff --git a/sdk/cmake/modules/macros/camitk/CamiTKLibrary.cmake b/sdk/cmake/modules/macros/camitk/CamiTKLibrary.cmake index b50ab2857538c31b0d1c2af545d891af1a48493d..85acf49bb613c41a2413aaccd14be46d9111dc45 100644 --- a/sdk/cmake/modules/macros/camitk/CamiTKLibrary.cmake +++ b/sdk/cmake/modules/macros/camitk/CamiTKLibrary.cmake @@ -4,7 +4,14 @@ #! macro camitk_library simplifies the declaration of a library inside CamiTK #! and is to be used for all inner project libraries #! -#! The name of the CEP library is deduced from the name of the directory, unless LIBNAME is provided +#! The name of the CEP library is automatically deduced from the name of the directory, +#! unless LIBNAME is provided +#! +#! \note +#! To be more precise, after the execution of this macro, the variable LIBRARY_TARGET_NAME +#! holds the name of the CMake target produced by this macro. +#! The target name itself is equals to "library-", where is the name of the current +#! folder in lowercase unless LIBNAME is provided. #! #! If the library is compiled as shared, it adds the needed library properties #! If it needs relocation flag fPIC (on some plateforms), this macro should determine