Computer Assited Medical Intervention Tool Kit  version 5.0
GetDirectoryName.h
Go to the documentation of this file.
1
14get_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)
19end(){)
iwyu out CACHE PATH Output filename for include what you use set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${IWYU_EXECUTABLE}) if(NOT EXISTS $
Definition: CamiTKIncludeWhatYouUse.h:22
get_directory_name()
macro get_directory_name set the variable VariableName to the name of the last directory of FullPathD...
Definition: GetDirectoryName.h:14