Commit c3350ff2 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED add the name of the produced target variable and specify what it is

parent 1b6a604c
......@@ -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-<name>", where <name> 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.
......
......@@ -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 <type>_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-<name>" or "component-<name>" (depending on the <type>
#! of the extension), where <name> is the name of the current folder in lowercase, unless TARGET_NAME
#! is provided
#!
#! usage:
#! \code
......
......@@ -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-<name>", where <name> 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment