8000 CMakeLists.txt: Print compiler and target OS information. · log4cplus/log4cplus@2f2b6f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f2b6f3

Browse files
committed
CMakeLists.txt: Print compiler and target OS information.
1 parent 3002670 commit 2f2b6f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,9 @@ if (LOG4CPLUS_QT5)
142142
endif (LOG4CPLUS_QT5)
143143

144144
include(Log4CPlusCPack.cmake)
145+
146+
message (STATUS "Compiler: ${CMAKE_CXX_COMPILER}")
147+
message (STATUS "${CMAKE_CXX_COMPILER_ID} version ${CMAKE_CXX_COMPILER_VERSION}")
148+
message (STATUS "Compiler flags: ${CMAKE_CXX_FLAGS}")
149+
message (STATUS "System name: ${CMAKE_SYSTEM_NAME}")
150+
message (STATUS "System version: ${CMAKE_SYSTEM_VERSION}")

0 commit comments

Comments
 (0)
0