mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Move CMake variables printing into a utility macro
Added cmake_variables_helper.cmake providing 2 helpers - print_variable - print_all_variables Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
This commit is contained in:
parent
c2997c33c7
commit
7b08f8d23c
3 changed files with 49 additions and 6 deletions
|
@ -112,6 +112,7 @@ endif()
|
|||
include(cmake/Modules/HandleFtdiSupport.cmake)
|
||||
include(cmake/Modules/HandleVersionGeneration.cmake)
|
||||
include(cmake/Modules/RunOnBuildDir.cmake)
|
||||
include(cmake/Modules/cmake_variables_helper.cmake)
|
||||
|
||||
pkg_config_library(LIBXML libxml-2.0 REQUIRED)
|
||||
pkg_config_library(LIBSQLITE3 sqlite3 REQUIRED)
|
||||
|
@ -467,9 +468,4 @@ if (MAKE_TESTS)
|
|||
endif()
|
||||
|
||||
# useful for debugging CMake issues
|
||||
#
|
||||
# message(STATUS "print variables")
|
||||
# get_cmake_property(_variableNames VARIABLES)
|
||||
# foreach(_variableName ${_variableNames})
|
||||
# message(STATUS "${_variableName}=${${_variableName}}")
|
||||
# endforeach()
|
||||
# print_all_variables()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue