1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 # /* C++ comment style not allowed */
6 # if you are building in-source, this is the same as CMAKE_SOURCE_DIR, otherwise
7 # this is the top level directory of your build tree
8 MESSAGE( STATUS "CMAKE_BINARY_DIR: " ${CMAKE_BINARY_DIR} )
10 # if you are building in-source, this is the same as CMAKE_CURRENT_SOURCE_DIR, otherwise this
11 # is the directory where the compiled or generated files from the current CMakeLists.txt will go to
12 MESSAGE( STATUS "CMAKE_CURRENT_BINARY_DIR: " ${CMAKE_CURRENT_BINARY_DIR} )
14 # this is the directory, from which cmake was started, i.e. the top level source directory
15 MESSAGE( STATUS "CMAKE_SOURCE_DIR: " ${CMAKE_SOURCE_DIR} )
17 # this is the directory where the currently processed CMakeLists.txt is located in
18 MESSAGE( STATUS "CMAKE_CURRENT_SOURCE_DIR: " ${CMAKE_CURRENT_SOURCE_DIR} )
20 # contains the full path to the top level directory of your build tree
21 MESSAGE( STATUS "PROJECT_BINARY_DIR: " ${PROJECT_BINARY_DIR} )
23 # contains the full path to the root of your project source directory,
24 # i.e. to the nearest directory where CMakeLists.txt contains the PROJECT() command
25 MESSAGE( STATUS "PROJECT_SOURCE_DIR: " ${PROJECT_SOURCE_DIR} )
27 # set this variable to specify a common place where CMake should put all executable files
28 # (instead of CMAKE_CURRENT_BINARY_DIR)
29 MESSAGE( STATUS "EXECUTABLE_OUTPUT_PATH: " ${EXECUTABLE_OUTPUT_PATH} )
31 # set this variable to specify a common place where CMake should put all libraries
32 # (instead of CMAKE_CURRENT_BINARY_DIR)
33 MESSAGE( STATUS "LIBRARY_OUTPUT_PATH: " ${LIBRARY_OUTPUT_PATH} )
35 # tell CMake to search first in directories listed in CMAKE_MODULE_PATH
36 # when you use FIND_PACKAGE() or INCLUDE()
37 MESSAGE( STATUS "CMAKE_MODULE_PATH: " ${CMAKE_MODULE_PATH} )
39 # this is the complete path of the cmake which runs currently (e.g. /usr/local/bin/cmake)
40 MESSAGE( STATUS "CMAKE_COMMAND: " ${CMAKE_COMMAND} )
42 # this is the CMake installation directory
43 MESSAGE( STATUS "CMAKE_ROOT: " ${CMAKE_ROOT} )
45 # this is the filename including the complete path of the file where this variable is used.
46 MESSAGE( STATUS "CMAKE_CURRENT_LIST_FILE: " ${CMAKE_CURRENT_LIST_FILE} )
48 # this is linenumber where the variable is used
49 MESSAGE( STATUS "CMAKE_CURRENT_LIST_LINE: " ${CMAKE_CURRENT_LIST_LINE} )
51 # this is used when searching for include files e.g. using the FIND_PATH() command.
52 MESSAGE( STATUS "CMAKE_INCLUDE_PATH: " ${CMAKE_INCLUDE_PATH} )
54 # this is used when searching for libraries e.g. using the FIND_LIBRARY() command.
55 MESSAGE( STATUS "CMAKE_LIBRARY_PATH: " ${CMAKE_LIBRARY_PATH} )
57 # the complete system name, e.g. "Linux-2.4.22", "FreeBSD-5.4-RELEASE" or "Windows 5.1"
58 MESSAGE( STATUS "CMAKE_SYSTEM: " ${CMAKE_SYSTEM} )
60 # the short system name, e.g. "Linux", "FreeBSD" or "Windows"
61 MESSAGE( STATUS "CMAKE_SYSTEM_NAME: " ${CMAKE_SYSTEM_NAME} )
63 # only the version part of CMAKE_SYSTEM
64 MESSAGE( STATUS "CMAKE_SYSTEM_VERSION: " ${CMAKE_SYSTEM_VERSION} )
66 # the processor name (e.g. "Intel(R) Pentium(R) M processor 2.00GHz")
67 MESSAGE( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} )
69 # is TRUE on all UNIX-like OS's, including Apple OS X and CygWin
70 MESSAGE( STATUS "UNIX: " ${UNIX} )
72 # is TRUE on Windows, including CygWin
73 MESSAGE( STATUS "WIN32: " ${WIN32} )
75 # is TRUE on Apple OS X
76 MESSAGE( STATUS "APPLE: " ${APPLE} )
78 # is TRUE when using the MinGW compiler in Windows
79 MESSAGE( STATUS "MINGW: " ${MINGW} )
81 # is TRUE on Windows when using the CygWin version of cmake
82 MESSAGE( STATUS "CYGWIN: " ${CYGWIN} )
84 # is TRUE on Windows when using a Borland compiler
85 MESSAGE( STATUS "BORLAND: " ${BORLAND} )
88 MESSAGE( STATUS "MSVC: " ${MSVC} )
89 MESSAGE( STATUS "MSVC_IDE: " ${MSVC_IDE} )
90 MESSAGE( STATUS "MSVC60: " ${MSVC60} )
91 MESSAGE( STATUS "MSVC70: " ${MSVC70} )
92 MESSAGE( STATUS "MSVC71: " ${MSVC71} )
93 MESSAGE( STATUS "MSVC80: " ${MSVC80} )
94 MESSAGE( STATUS "CMAKE_COMPILER_2005: " ${CMAKE_COMPILER_2005} )
97 # set this to true if you don't want to rebuild the object files if the rules have changed,
98 # but not the actual source files or headers (e.g. if you changed the some compiler switches)
99 MESSAGE( STATUS "CMAKE_SKIP_RULE_DEPENDENCY: " ${CMAKE_SKIP_RULE_DEPENDENCY} )
101 # since CMake 2.1 the install rule depends on all, i.e. everything will be built before installing.
102 # If you don't like this, set this one to true.
103 MESSAGE( STATUS "CMAKE_SKIP_INSTALL_ALL_DEPENDENCY: " ${CMAKE_SKIP_INSTALL_ALL_DEPENDENCY} )
105 # If set, runtime paths are not added when using shared libraries. Default it is set to OFF
106 MESSAGE( STATUS "CMAKE_SKIP_RPATH: " ${CMAKE_SKIP_RPATH} )
108 # set this to true if you are using makefiles and want to see the full compile and link
109 # commands instead of only the shortened ones
110 MESSAGE( STATUS "CMAKE_VERBOSE_MAKEFILE: " ${CMAKE_VERBOSE_MAKEFILE} )
112 # this will cause CMake to not put in the rules that re-run CMake. This might be useful if
113 # you want to use the generated build files on another machine.
114 MESSAGE( STATUS "CMAKE_SUPPRESS_REGENERATION: " ${CMAKE_SUPPRESS_REGENERATION} )
117 # A simple way to get switches to the compiler is to use ADD_DEFINITIONS().
118 # But there are also two variables exactly for this purpose:
120 # the compiler flags for compiling C sources
121 MESSAGE( STATUS "CMAKE_C_FLAGS: " ${CMAKE_C_FLAGS} )
123 # the compiler flags for compiling C++ sources
124 MESSAGE( STATUS "CMAKE_CXX_FLAGS: " ${CMAKE_CXX_FLAGS} )
127 # Choose the type of build. Example: SET(CMAKE_BUILD_TYPE Debug)
128 MESSAGE( STATUS "CMAKE_BUILD_TYPE: " ${CMAKE_BUILD_TYPE} )
130 # if this is set to ON, then all libraries are built as shared libraries by default.
131 MESSAGE( STATUS "BUILD_SHARED_LIBS: " ${BUILD_SHARED_LIBS} )
133 # the compiler used for C files
134 MESSAGE( STATUS "CMAKE_C_COMPILER: " ${CMAKE_C_COMPILER} )
136 # the compiler used for C++ files
137 MESSAGE( STATUS "CMAKE_CXX_COMPILER: " ${CMAKE_CXX_COMPILER} )
139 # if the compiler is a variant of gcc, this should be set to 1
140 MESSAGE( STATUS "CMAKE_COMPILER_IS_GNUCC: " ${CMAKE_COMPILER_IS_GNUCC} )
142 # if the compiler is a variant of g++, this should be set to 1
143 MESSAGE( STATUS "CMAKE_COMPILER_IS_GNUCXX : " ${CMAKE_COMPILER_IS_GNUCXX} )
145 # the tools for creating libraries
146 MESSAGE( STATUS "CMAKE_AR: " ${CMAKE_AR} )
147 MESSAGE( STATUS "CMAKE_RANLIB: " ${CMAKE_RANLIB} )
150 #MESSAGE( STATUS ": " ${} )
152 # ------------------------- End of Generic CMake Variable Logging ------------------