Dump additional debugging information.
For autotools, dump CC, CFLAGS, CXX, and CXXFLAGS. For CMake, dump CMAKE_C_COMPILER_ID and CMAKE_CXX_COMPILER_ID. Hopefully this will help figure out why CMake builds catch different warnings from autotools builds. Change-Id: I26955ad955f60e8bad248562fa87963a3a1bb42f Reviewed-on: https://code.wireshark.org/review/3365 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
493c4c20bd
commit
50b67345b7
|
@ -699,7 +699,9 @@ elseif(QT_FOUND)
|
|||
message(STATUS "QT libs: ${QT_LIBRARIES}")
|
||||
endif()
|
||||
|
||||
message(STATUS "C compiler: ${CMAKE_C_COMPILER_ID}")
|
||||
message(STATUS "C-Flags: ${CMAKE_C_FLAGS}")
|
||||
message(STATUS "C++ compiler: ${CMAKE_CXX_COMPILER_ID}")
|
||||
message(STATUS "CXX-Flags: ${CMAKE_CXX_FLAGS}")
|
||||
|
||||
include(ConfigureChecks.cmake)
|
||||
|
|
|
@ -3074,3 +3074,12 @@ echo " Use POSIX capabilities library : $libcap_message"
|
|||
echo " Use GeoIP library : $geoip_message"
|
||||
echo " Use nl library : $libnl_message"
|
||||
echo " Use SBC codec library : $have_sbc"
|
||||
#
|
||||
# Debugging differences between autotools and CMake builds; dump
|
||||
# CC, CXX, CFLAGS, and CXXFLAGS.
|
||||
#
|
||||
echo " CC : $CC"
|
||||
echo " CFLAGS : $CFLAGS"
|
||||
echo " CXX : $CXX"
|
||||
echo " CXXFLAGS : $CXXFLAGS"
|
||||
|
||||
|
|
Loading…
Reference in New Issue