Salome HOME
Issue #2553 Error while compiling Shaper on UB16
[modules/shaper.git] / CMakeCommon / Logger.cmake
1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 # /*    C++ comment style not allowed   */
4
5
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} )
9
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} )
13
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} )
16
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} )
19
20 # contains the full path to the top level directory of your build tree 
21 MESSAGE( STATUS "PROJECT_BINARY_DIR: " ${PROJECT_BINARY_DIR} )
22
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} )
26
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} )
30
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} )
34
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} )
38
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} )
41
42 # this is the CMake installation directory 
43 MESSAGE( STATUS "CMAKE_ROOT: " ${CMAKE_ROOT} )
44
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} )
47
48 # this is linenumber where the variable is used
49 MESSAGE( STATUS "CMAKE_CURRENT_LIST_LINE: " ${CMAKE_CURRENT_LIST_LINE} )
50
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} )
53
54 # this is used when searching for libraries e.g. using the FIND_LIBRARY() command.
55 MESSAGE( STATUS "CMAKE_LIBRARY_PATH: " ${CMAKE_LIBRARY_PATH} )
56
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} )
59
60 # the short system name, e.g. "Linux", "FreeBSD" or "Windows"
61 MESSAGE( STATUS "CMAKE_SYSTEM_NAME: " ${CMAKE_SYSTEM_NAME} )
62
63 # only the version part of CMAKE_SYSTEM 
64 MESSAGE( STATUS "CMAKE_SYSTEM_VERSION: " ${CMAKE_SYSTEM_VERSION} )
65
66 # the processor name (e.g. "Intel(R) Pentium(R) M processor 2.00GHz") 
67 MESSAGE( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} )
68
69 # is TRUE on all UNIX-like OS's, including Apple OS X and CygWin
70 MESSAGE( STATUS "UNIX: " ${UNIX} )
71
72 # is TRUE on Windows, including CygWin 
73 MESSAGE( STATUS "WIN32: " ${WIN32} )
74
75 # is TRUE on Apple OS X
76 MESSAGE( STATUS "APPLE: " ${APPLE} )
77
78 # is TRUE when using the MinGW compiler in Windows
79 MESSAGE( STATUS "MINGW: " ${MINGW} )
80
81 # is TRUE on Windows when using the CygWin version of cmake
82 MESSAGE( STATUS "CYGWIN: " ${CYGWIN} )
83
84 # is TRUE on Windows when using a Borland compiler 
85 MESSAGE( STATUS "BORLAND: " ${BORLAND} )
86
87 # Microsoft compiler 
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} )
95
96
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} )
100
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} )
104
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} )
107
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} )
111
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} )
115
116
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: 
119
120 # the compiler flags for compiling C sources 
121 MESSAGE( STATUS "CMAKE_C_FLAGS: " ${CMAKE_C_FLAGS} )
122
123 # the compiler flags for compiling C++ sources 
124 MESSAGE( STATUS "CMAKE_CXX_FLAGS: " ${CMAKE_CXX_FLAGS} )
125
126
127 # Choose the type of build.  Example: SET(CMAKE_BUILD_TYPE Debug) 
128 MESSAGE( STATUS "CMAKE_BUILD_TYPE: " ${CMAKE_BUILD_TYPE} )
129
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} )
132
133 # the compiler used for C files 
134 MESSAGE( STATUS "CMAKE_C_COMPILER: " ${CMAKE_C_COMPILER} )
135
136 # the compiler used for C++ files 
137 MESSAGE( STATUS "CMAKE_CXX_COMPILER: " ${CMAKE_CXX_COMPILER} )
138
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} )
141
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} )
144
145 # the tools for creating libraries 
146 MESSAGE( STATUS "CMAKE_AR: " ${CMAKE_AR} )
147 MESSAGE( STATUS "CMAKE_RANLIB: " ${CMAKE_RANLIB} )
148
149 #
150 #MESSAGE( STATUS ": " ${} )
151
152 # ------------------------- End of Generic CMake Variable Logging ------------------