Skip to content

Commit

Permalink
CMake: show the compiler version used
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Jan 2, 2025
1 parent 5b5502f commit eb104cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function(add_c_flag_if_supported)
endfunction()

if(DEV_MODE)
message(STATUS "Using developer mode for ${CMAKE_C_COMPILER_ID}")
message(STATUS "Using developer mode for ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}")
set(CMAKE_C_EXTENSIONS OFF)
add_c_flag_if_supported(-Wno-error=unused-command-line-argument
-Wall -Wextra -Wpedantic -Wfatal-errors -fstack-protector-strong
Expand Down

0 comments on commit eb104cf

Please sign in to comment.