Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
FindCamiTK.cmake File Reference

Functions

you can (in order of preference)
 
 else () set(FIND_CAMITK_USER_BASE_DIR"$ENV
 
config endif () if(EXISTS"$
 
CamiTK CamiTKDir txt file (STRINGS"${FIND_CAMITK_USER_BASE_DIR}/CamiTK/CamiTKDir.txt"FIND_CAMITK_USER_DIR_LAST_INSTALL) endif() find_program(CAMITK_CONFIG_EXECUTABLE NAMES camitk-config-debug camitk-config PATH_SUFFIXES"bin"PATHS"$
 
camitkDir RESULT_VARIABLE
CAMITK_CONFIG_DIR_RETURN_CODE
OUTPUT_VARIABLE
CAMITK_CONFIG_DIR_OUTPUT
ERROR_VARIABLE
CAMITK_CONFIG_DIR_OUTPUT_ERROR
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_STRIP_TRAILING_WHITESPACE 
if (CAMITK_CONFIG_DIR_RETURN_CODE) set(CAMITK_NOT_FOUND_MESSAGE"CamiTK configuration utility reports errors. Check the output of $
 
 message (STATUS"Looking for CamiTK ${CamiTK_FIND_VERSION}") set(CAMITK_FOUND FALSE) set(CAMITK_USE_FILE"CamiTKConfig.cmake") set(CAMITK_DIR_DESCRIPTION"directory containing a build tree or install tree of CamiTK.\n It must have the camitk-config binary in its 'bin' subdirectory.") if(WIN32) set(FIND_CAMITK_USER_BASE_DIR $ENV
 
is installed and camitk config
is in a directory included n
in the environment command 
path ($PATH or%PATH%) before the install dir of version $
 
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 \"$
 

Variables

 $ENV
 
bin camitk config camitkDir n Returns
 
bin camitk config camitkDir n
mismatch required 
version {CamiTK_FIND_VERSION}\n To solve this problem
 

Function Documentation

bin camitk config camitkDir n mismatch required you can ( in order of  preference)
else ( )
config endif ( )
CamiTK CamiTKDir txt file ( STRINGS"${FIND_CAMITK_USER_BASE_DIR}/CamiTK/CamiTKDir.txt"  FIND_CAMITK_USER_DIR_LAST_INSTALL)

Referenced by camitk_library().

camitkDir RESULT_VARIABLE CAMITK_CONFIG_DIR_RETURN_CODE OUTPUT_VARIABLE CAMITK_CONFIG_DIR_OUTPUT ERROR_VARIABLE CAMITK_CONFIG_DIR_OUTPUT_ERROR OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE if ( CAMITK_CONFIG_DIR_RETURN_CODE  )
message ( STATUS"Looking for CamiTK ${CamiTK_FIND_VERSION}"  )
is installed and camitk config is in a directory included n in the environment command path (   $PATH or%PATH%)
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  = ...)

Referenced by camitk_library().

Variable Documentation

$ENV
bin camitk config camitkDir n Returns
bin camitk config camitkDir n mismatch required version {CamiTK_FIND_VERSION}\n To solve this problem