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