Skip to content

Commit 8e3ff8d

Browse files
committed
Merge #189: cmake: Report more compiler details.
5a68532 fixup! cmake: Add root `CMakeLists.txt` file (Hennadii Stepanov) Pull request description: Report more compiler details. Useful when compiler is being detected with its general symlink like `/usr/bin/cc` or `/usr/bin/c++`. Pulled from #93. ACKs for top commit: m3dwards: ACK 5a68532 Tree-SHA512: ebf939b6cdbf3964c437b1ac84a86f21157143fb3c44ec696e1be05a02a70e58b458f176a0dd39961c7578406d613c448b6200bec844fd4af633622bcf1578aa
2 parents 22270ee + 5a68532 commit 8e3ff8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -633,9 +633,9 @@ else()
633633
endif()
634634
message("Cross compiling ....................... ${cross_status}")
635635
message("Preprocessor defined macros ........... ${definitions}")
636-
message("C compiler ............................ ${CMAKE_C_COMPILER}")
636+
message("C compiler ............................ ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}, ${CMAKE_C_COMPILER}")
637637
message("CFLAGS ................................ ${CMAKE_C_FLAGS}")
638-
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER}")
638+
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, ${CMAKE_CXX_COMPILER}")
639639
message("CXXFLAGS .............................. ${CMAKE_CXX_FLAGS}")
640640
get_target_interface(common_compile_options core_interface COMPILE_OPTIONS)
641641
message("Common compile options ................ ${common_compile_options}")

0 commit comments

Comments
 (0)