diff --git a/CMake/Modules/CompilerFlags.cmake b/CMake/Modules/CompilerFlags.cmake index 3a664feedfc18498df78739eb65fd80fbdd327c5..3a6d3649f1a148feab1f23c6da237961be7b2026 100644 --- a/CMake/Modules/CompilerFlags.cmake +++ b/CMake/Modules/CompilerFlags.cmake @@ -14,6 +14,8 @@ if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "(Clang|GNU)") message(WARNING "Compiler ${CMAKE_CXX_COMPILER_ID} is not officially supported.") endif () +message("[Current compiler] ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}") + # set build flags add_compile_options(-Wall -pedantic -pipe -Wextra -Werror -Wshadow -Wpointer-arith -Wcast-qual -Wdelete-non-virtual-dtor -Wredundant-decls)