cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
cisstBuildType.h File Reference

Go to the source code of this file.

Macros

#define _cisstBuildType_h
 
#define CISST_BUILD_TYPE   "Release"
 
#define CISST_BUILD_SUFFIX   "."
 

Macro Definition Documentation

#define _cisstBuildType_h
#define CISST_BUILD_SUFFIX   "."

CISST_BUILD_SUFFIX can be used to find a binary once compiled (where!). CMake creates sub-directories using the build type strings (e.g. Debug, Release, RelWithDebInfo, ...) for most IDE (Visual Studio, Xcode, ...). To find an executable, one can use cmnPath to look in CISST_ROOT/bin/CISST_BUILD_SUFFIX.

For other generators, changing the build type doesn't change the build destination (e.g. for GNU Make, executables go in CISST_ROOT/bin).

If one needs to determine how the binaries where compiled, please use CISST_BUILD_TYPE.

#define CISST_BUILD_TYPE   "Release"

CISST_BUILD_TYPE can be used to provide an information re. the options used to compile cisst (how!). To find an executable or dynamic library, please use CISST_BUILD_SUFFIX.