Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GetDirectoryName.h
Go to the documentation of this file.
1 get_directory_name(){ FullPathDirectory VariableName)
15  string (REGEX REPLACE ".*/([^/]*)$" "\\1" ${VariableName} ${FullPathDirectory})
16 
17  # set the variable name to uppercase
18  string(TOUPPER ${${VariableName}} ${VariableName}_CMAKE)
19 end(){)
n b or specify the CMake cache variable(e.g.modify the value directly in the cmake GUI\n or run cmake from the command line with-DCAMITK_DIR:PATH=...)\n c) or specify a CAMITK_DIR environment variable(system variable)\n d) or remove the version requirement in the CMakeLists.txt(e.g.use a simple\n\"find_package(CamiTK REQUIRED)\" without specifying the version)") else() set(CAMITK_VERSION_MESSAGE" (found suitable version \"$
Definition: FindCamiTK.cmake:187
get_directory_name()
macro get_directory_name set the variable VariableName to the name of the last directory of FullPathD...
Definition: GetDirectoryName.h:14
set(CAMITK_TEST_PLATEFORM ${Plateform}) set(CAMITK_SVN_SUBDIR $
Definition: CamiTKTestBuildMacros.cmake:15