Computer Assited Medical Intervention Tool Kit  version 5.0
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(){)
set
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
get_directory_name()
Definition: GetDirectoryName.h:14