1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(build): add some debug output

This commit is contained in:
sudden6 2017-06-10 13:12:57 +02:00
parent d1b58ad8d1
commit 93f2c38376
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 11 additions and 0 deletions

View File

@ -518,6 +518,12 @@ if(${ENABLE_GTK_SYSTRAY})
endif()
endif()
# the compiler flags for compiling C sources
MESSAGE( STATUS "CMAKE_C_FLAGS: " ${CMAKE_C_FLAGS} )
# the compiler flags for compiling C++ sources
MESSAGE( STATUS "CMAKE_CXX_FLAGS: " ${CMAKE_CXX_FLAGS} )
add_library(${PROJECT_NAME}_static
STATIC
${${PROJECT_NAME}_FORMS}

View File

@ -74,6 +74,11 @@ function(search_dependency pkg)
message(STATUS "${pkg} not found")
endif()
else()
message(STATUS ${pkg} " LIBRARY_DIRS: " ${${pkg}_LIBRARY_DIRS} )
message(STATUS ${pkg} " INCLUDE_DIRS: " ${${pkg}_INCLUDE_DIRS} )
message(STATUS ${pkg} " CFLAGS_OTHER: " ${${pkg}_CFLAGS_OTHER} )
message(STATUS ${pkg} " LIBRARIES: " ${${pkg}_LIBRARIES} )
link_directories(${${pkg}_LIBRARY_DIRS})
include_directories(${${pkg}_INCLUDE_DIRS})
foreach(flag ${${pkg}_CFLAGS_OTHER})