Skip to content

Commit b44d5fb

Browse files
committed
cmake: Remove C stuff from summary
1 parent a36f01c commit b44d5fb

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,6 @@ if(CMAKE_CROSSCOMPILING)
616616
string(APPEND cross_status ", for ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR}")
617617
endif()
618618
message("Cross compiling ....................... ${cross_status}")
619-
message("C compiler ............................ ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}, ${CMAKE_C_COMPILER}")
620619
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, ${CMAKE_CXX_COMPILER}")
621620
include(FlagsSummary)
622621
flags_summary()

cmake/module/FlagsSummary.cmake

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,6 @@ function(print_flags_per_config config indent dots)
1111
get_target_interface(definitions ${config} core_interface COMPILE_DEFINITIONS)
1212
message("${indent}" "Preprocessor defined macros .........${dots} ${definitions}")
1313

14-
string(STRIP "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${config_uppercase}}" combined_c_flags)
15-
if(CMAKE_INTERPROCEDURAL_OPTIMIZATION)
16-
string(JOIN " " combined_c_flags ${combined_c_flags} ${CMAKE_C_COMPILE_OPTIONS_IPO})
17-
endif()
18-
if(CMAKE_POSITION_INDEPENDENT_CODE)
19-
string(JOIN " " combined_c_flags ${combined_c_flags} ${CMAKE_C_COMPILE_OPTIONS_PIC})
20-
endif()
21-
get_target_interface(core_c_flags ${config} core_base_interface COMPILE_OPTIONS)
22-
string(STRIP "${combined_c_flags} ${core_c_flags}" combined_c_flags)
23-
string(STRIP "${combined_c_flags} ${APPEND_CPPFLAGS}" combined_c_flags)
24-
string(STRIP "${combined_c_flags} ${APPEND_CFLAGS}" combined_c_flags)
25-
message("${indent}" "C flags .............................${dots} ${combined_c_flags}")
26-
2714
string(STRIP "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${config_uppercase}}" combined_cxx_flags)
2815
if(CMAKE_INTERPROCEDURAL_OPTIMIZATION)
2916
string(JOIN " " combined_cxx_flags ${combined_cxx_flags} ${CMAKE_CXX_COMPILE_OPTIONS_IPO})

0 commit comments

Comments
 (0)