Skip to content

Commit

Permalink
Clean up CMake configuration print
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Mar 14, 2024
1 parent 1eb854d commit 5292fd9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,26 @@ project (cal
# Settings
# ============================================================================ #

message(STATUS "")

message(STATUS "CMake build configuration for CAL ${PROJECT_VERSION}")

message(STATUS " OS: ${CMAKE_SYSTEM_NAME}")
message(STATUS " Compiler: ${CMAKE_CXX_COMPILER_ID}")
message(STATUS " C Flags: ${CMAKE_C_FLAGS}")
message(STATUS " CXX Flags: ${CMAKE_CXX_FLAGS}")
message(STATUS " EXE Linker Flags: ${CMAKE_EXE_LINKER_FLAGS}")
message(STATUS " OS: ${CMAKE_SYSTEM_NAME}")
message(STATUS " Compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}")
message(STATUS " | C Flags: ${CMAKE_C_FLAGS}")
message(STATUS " | CXX Flags: ${CMAKE_CXX_FLAGS}")
message(STATUS " | EXE Linker Flags: ${CMAKE_EXE_LINKER_FLAGS}")

message(STATUS " Library Options:")

option(CAL_SHARED "Build CAL as a shared library" OFF)
message(STATUS " Shared: ${CAL_SHARED}")
message(STATUS " | Shared: ${CAL_SHARED}")

option(CAL_DOCS "Build Documentation for CAL" ON)
message(STATUS " | Documentation (Doxygen): ${CAL_DOCS}")
message(STATUS " | Documentation (Doxygen): ${CAL_DOCS}")

option(CAL_TEST "Build Test for CAL" ON)
message(STATUS " | Test Executables: ${CAL_TEST}")
message(STATUS " | Test Executables: ${CAL_TEST}")

message(STATUS "")

Expand Down

0 comments on commit 5292fd9

Please sign in to comment.