Skip to content

Commit e6d1796

Browse files
committed
cmake: Remove C stuff from summary
1 parent df7c273 commit e6d1796

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
@@ -615,7 +615,6 @@ else()
615615
set(cross_status "FALSE")
616616
endif()
617617
message("Cross compiling ....................... ${cross_status}")
618-
message("C compiler ............................ ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}, ${CMAKE_C_COMPILER}")
619618
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, ${CMAKE_CXX_COMPILER}")
620619
include(FlagsSummary)
621620
flags_summary()

cmake/module/FlagsSummary.cmake

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,6 @@ function(print_flags_per_config config indent_num)
2020
get_target_interface(definitions ${config} core_interface COMPILE_DEFINITIONS)
2121
indent_message("Preprocessor defined macros ..........." "${definitions}" ${indent_num})
2222

23-
string(STRIP "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${config_uppercase}}" combined_c_flags)
24-
if(CMAKE_INTERPROCEDURAL_OPTIMIZATION)
25-
string(JOIN " " combined_c_flags ${combined_c_flags} ${CMAKE_C_COMPILE_OPTIONS_IPO})
26-
endif()
27-
if(CMAKE_POSITION_INDEPENDENT_CODE)
28-
string(JOIN " " combined_c_flags ${combined_c_flags} ${CMAKE_C_COMPILE_OPTIONS_PIC})
29-
endif()
30-
get_target_interface(core_c_flags ${config} core_base_interface COMPILE_OPTIONS)
31-
string(STRIP "${combined_c_flags} ${core_c_flags}" combined_c_flags)
32-
string(STRIP "${combined_c_flags} ${APPEND_CPPFLAGS}" combined_c_flags)
33-
string(STRIP "${combined_c_flags} ${APPEND_CFLAGS}" combined_c_flags)
34-
indent_message("C flags ..............................." "${combined_c_flags}" ${indent_num})
35-
3623
string(STRIP "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${config_uppercase}}" combined_cxx_flags)
3724
if(CMAKE_INTERPROCEDURAL_OPTIMIZATION)
3825
string(JOIN " " combined_cxx_flags ${combined_cxx_flags} ${CMAKE_CXX_COMPILE_OPTIONS_IPO})

0 commit comments

Comments
 (0)