Skip to content

Commit b3766a3

Browse files
committed
cmake: Remove C stuff from summary
1 parent 978a230 commit b3766a3

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,6 @@ else()
625625
set(cross_status "FALSE")
626626
endif()
627627
message("Cross compiling ....................... ${cross_status}")
628-
message("C compiler ............................ ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}, ${CMAKE_C_COMPILER}")
629628
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, ${CMAKE_CXX_COMPILER}")
630629
include(FlagsSummary)
631630
flags_summary()

cmake/module/FlagsSummary.cmake

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ function(print_flags_per_config config indent_num)
2222
get_target_interface(definitions ${config} core_interface COMPILE_DEFINITIONS)
2323
indent_message("Preprocessor defined macros ..........." "${definitions}" ${indent_num})
2424

25-
string(STRIP "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${config_uppercase}}" combined_c_flags)
26-
string(STRIP "${combined_c_flags} ${CMAKE_C${CMAKE_C_STANDARD}_STANDARD_COMPILE_OPTION}" combined_c_flags)
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 compiler flags ......................" "${combined_c_flags}" ${indent_num})
35-
3625
string(STRIP "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${config_uppercase}}" combined_cxx_flags)
3726
string(STRIP "${combined_cxx_flags} ${CMAKE_CXX${CMAKE_CXX_STANDARD}_STANDARD_COMPILE_OPTION}" combined_cxx_flags)
3827
if(CMAKE_POSITION_INDEPENDENT_CODE)

0 commit comments

Comments
 (0)