diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ac164d7..7fcebc97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,3 +77,26 @@ otr_merge_translations() #install_sources() include(opentrack-install) + +message(STATUS "-- Compile flags:") +#foreach(j C CXX) +foreach(j CXX) + foreach(i "" "_${CMAKE_BUILD_TYPE}") + message(STATUS " ${j}${i}: ${CMAKE_${j}_FLAGS${i}}") + endforeach() +endforeach() + +message(STATUS "-- Link flags:") +foreach(j "" "_${CMAKE_BUILD_TYPE}") + #foreach(i EXE SHARED) + foreach(i SHARED) + message(STATUS " LINK_${i}${j}: ${CMAKE_${i}_LINKER_FLAGS${j}}") + endforeach() +endforeach() + +message(STATUS "-- Static archive flags:") +foreach(k "" "_${CMAKE_BUILD_TYPE}") + message(STATUS " STATIC${k}: ${CMAKE_STATIC_LINKER_FLAGS${k}}") +endforeach() +message(STATUS "--") + |