Skip to content

Commit

Permalink
Merge #189: cmake: Report more compiler details.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hebasto committed May 6, 2024
2 parents 22270ee + 5a68532 commit 8e3ff8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,9 @@ else()
endif()
message("Cross compiling ....................... ${cross_status}")
message("Preprocessor defined macros ........... ${definitions}")
message("C compiler ............................ ${CMAKE_C_COMPILER}")
message("C compiler ............................ ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}, ${CMAKE_C_COMPILER}")
message("CFLAGS ................................ ${CMAKE_C_FLAGS}")
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER}")
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, ${CMAKE_CXX_COMPILER}")
message("CXXFLAGS .............................. ${CMAKE_CXX_FLAGS}")
get_target_interface(common_compile_options core_interface COMPILE_OPTIONS)
message("Common compile options ................ ${common_compile_options}")
Expand Down

0 comments on commit 8e3ff8d

Please sign in to comment.