1 # Copyright (C) 2014-2019 CEA/DEN, EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 # /* C++ comment style not allowed */
23 # if you are building in-source, this is the same as CMAKE_SOURCE_DIR, otherwise
24 # this is the top level directory of your build tree
25 MESSAGE( STATUS "CMAKE_BINARY_DIR: " ${CMAKE_BINARY_DIR} )
27 # if you are building in-source, this is the same as CMAKE_CURRENT_SOURCE_DIR, otherwise this
28 # is the directory where the compiled or generated files from the current CMakeLists.txt will go to
29 MESSAGE( STATUS "CMAKE_CURRENT_BINARY_DIR: " ${CMAKE_CURRENT_BINARY_DIR} )
31 # this is the directory, from which cmake was started, i.e. the top level source directory
32 MESSAGE( STATUS "CMAKE_SOURCE_DIR: " ${CMAKE_SOURCE_DIR} )
34 # this is the directory where the currently processed CMakeLists.txt is located in
35 MESSAGE( STATUS "CMAKE_CURRENT_SOURCE_DIR: " ${CMAKE_CURRENT_SOURCE_DIR} )
37 # contains the full path to the top level directory of your build tree
38 MESSAGE( STATUS "PROJECT_BINARY_DIR: " ${PROJECT_BINARY_DIR} )
40 # contains the full path to the root of your project source directory,
41 # i.e. to the nearest directory where CMakeLists.txt contains the PROJECT() command
42 MESSAGE( STATUS "PROJECT_SOURCE_DIR: " ${PROJECT_SOURCE_DIR} )
44 # set this variable to specify a common place where CMake should put all executable files
45 # (instead of CMAKE_CURRENT_BINARY_DIR)
46 MESSAGE( STATUS "EXECUTABLE_OUTPUT_PATH: " ${EXECUTABLE_OUTPUT_PATH} )
48 # set this variable to specify a common place where CMake should put all libraries
49 # (instead of CMAKE_CURRENT_BINARY_DIR)
50 MESSAGE( STATUS "LIBRARY_OUTPUT_PATH: " ${LIBRARY_OUTPUT_PATH} )
52 # tell CMake to search first in directories listed in CMAKE_MODULE_PATH
53 # when you use FIND_PACKAGE() or INCLUDE()
54 MESSAGE( STATUS "CMAKE_MODULE_PATH: " ${CMAKE_MODULE_PATH} )
56 # this is the complete path of the cmake which runs currently (e.g. /usr/local/bin/cmake)
57 MESSAGE( STATUS "CMAKE_COMMAND: " ${CMAKE_COMMAND} )
59 # this is the CMake installation directory
60 MESSAGE( STATUS "CMAKE_ROOT: " ${CMAKE_ROOT} )
62 # this is the filename including the complete path of the file where this variable is used.
63 MESSAGE( STATUS "CMAKE_CURRENT_LIST_FILE: " ${CMAKE_CURRENT_LIST_FILE} )
65 # this is linenumber where the variable is used
66 MESSAGE( STATUS "CMAKE_CURRENT_LIST_LINE: " ${CMAKE_CURRENT_LIST_LINE} )
68 # this is used when searching for include files e.g. using the FIND_PATH() command.
69 MESSAGE( STATUS "CMAKE_INCLUDE_PATH: " ${CMAKE_INCLUDE_PATH} )
71 # this is used when searching for libraries e.g. using the FIND_LIBRARY() command.
72 MESSAGE( STATUS "CMAKE_LIBRARY_PATH: " ${CMAKE_LIBRARY_PATH} )
74 # the complete system name, e.g. "Linux-2.4.22", "FreeBSD-5.4-RELEASE" or "Windows 5.1"
75 MESSAGE( STATUS "CMAKE_SYSTEM: " ${CMAKE_SYSTEM} )
77 # the short system name, e.g. "Linux", "FreeBSD" or "Windows"
78 MESSAGE( STATUS "CMAKE_SYSTEM_NAME: " ${CMAKE_SYSTEM_NAME} )
80 # only the version part of CMAKE_SYSTEM
81 MESSAGE( STATUS "CMAKE_SYSTEM_VERSION: " ${CMAKE_SYSTEM_VERSION} )
83 # the processor name (e.g. "Intel(R) Pentium(R) M processor 2.00GHz")
84 MESSAGE( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} )
86 # is TRUE on all UNIX-like OS's, including Apple OS X and CygWin
87 MESSAGE( STATUS "UNIX: " ${UNIX} )
89 # is TRUE on Windows, including CygWin
90 MESSAGE( STATUS "WIN32: " ${WIN32} )
92 # is TRUE on Apple OS X
93 MESSAGE( STATUS "APPLE: " ${APPLE} )
95 # is TRUE when using the MinGW compiler in Windows
96 MESSAGE( STATUS "MINGW: " ${MINGW} )
98 # is TRUE on Windows when using the CygWin version of cmake
99 MESSAGE( STATUS "CYGWIN: " ${CYGWIN} )
101 # is TRUE on Windows when using a Borland compiler
102 MESSAGE( STATUS "BORLAND: " ${BORLAND} )
105 MESSAGE( STATUS "MSVC: " ${MSVC} )
106 MESSAGE( STATUS "MSVC_IDE: " ${MSVC_IDE} )
107 MESSAGE( STATUS "MSVC60: " ${MSVC60} )
108 MESSAGE( STATUS "MSVC70: " ${MSVC70} )
109 MESSAGE( STATUS "MSVC71: " ${MSVC71} )
110 MESSAGE( STATUS "MSVC80: " ${MSVC80} )
111 MESSAGE( STATUS "CMAKE_COMPILER_2005: " ${CMAKE_COMPILER_2005} )
114 # set this to true if you don't want to rebuild the object files if the rules have changed,
115 # but not the actual source files or headers (e.g. if you changed the some compiler switches)
116 MESSAGE( STATUS "CMAKE_SKIP_RULE_DEPENDENCY: " ${CMAKE_SKIP_RULE_DEPENDENCY} )
118 # since CMake 2.1 the install rule depends on all, i.e. everything will be built before installing.
119 # If you don't like this, set this one to true.
120 MESSAGE( STATUS "CMAKE_SKIP_INSTALL_ALL_DEPENDENCY: " ${CMAKE_SKIP_INSTALL_ALL_DEPENDENCY} )
122 # If set, runtime paths are not added when using shared libraries. Default it is set to OFF
123 MESSAGE( STATUS "CMAKE_SKIP_RPATH: " ${CMAKE_SKIP_RPATH} )
125 # set this to true if you are using makefiles and want to see the full compile and link
126 # commands instead of only the shortened ones
127 MESSAGE( STATUS "CMAKE_VERBOSE_MAKEFILE: " ${CMAKE_VERBOSE_MAKEFILE} )
129 # this will cause CMake to not put in the rules that re-run CMake. This might be useful if
130 # you want to use the generated build files on another machine.
131 MESSAGE( STATUS "CMAKE_SUPPRESS_REGENERATION: " ${CMAKE_SUPPRESS_REGENERATION} )
134 # A simple way to get switches to the compiler is to use ADD_DEFINITIONS().
135 # But there are also two variables exactly for this purpose:
137 # the compiler flags for compiling C sources
138 MESSAGE( STATUS "CMAKE_C_FLAGS: " ${CMAKE_C_FLAGS} )
140 # the compiler flags for compiling C++ sources
141 MESSAGE( STATUS "CMAKE_CXX_FLAGS: " ${CMAKE_CXX_FLAGS} )
144 # Choose the type of build. Example: SET(CMAKE_BUILD_TYPE Debug)
145 MESSAGE( STATUS "CMAKE_BUILD_TYPE: " ${CMAKE_BUILD_TYPE} )
147 # if this is set to ON, then all libraries are built as shared libraries by default.
148 MESSAGE( STATUS "BUILD_SHARED_LIBS: " ${BUILD_SHARED_LIBS} )
150 # the compiler used for C files
151 MESSAGE( STATUS "CMAKE_C_COMPILER: " ${CMAKE_C_COMPILER} )
153 # the compiler used for C++ files
154 MESSAGE( STATUS "CMAKE_CXX_COMPILER: " ${CMAKE_CXX_COMPILER} )
156 # if the compiler is a variant of gcc, this should be set to 1
157 MESSAGE( STATUS "CMAKE_COMPILER_IS_GNUCC: " ${CMAKE_COMPILER_IS_GNUCC} )
159 # if the compiler is a variant of g++, this should be set to 1
160 MESSAGE( STATUS "CMAKE_COMPILER_IS_GNUCXX : " ${CMAKE_COMPILER_IS_GNUCXX} )
162 # the tools for creating libraries
163 MESSAGE( STATUS "CMAKE_AR: " ${CMAKE_AR} )
164 MESSAGE( STATUS "CMAKE_RANLIB: " ${CMAKE_RANLIB} )
167 #MESSAGE( STATUS ": " ${} )
169 # ------------------------- End of Generic CMake Variable Logging ------------------