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