Add commented out hack to dump all CMake variables

I use this all the time when debugging CMake issues.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-09-22 17:12:49 -07:00
parent 131c5a2abe
commit 8cc7e63309

View file

@ -447,3 +447,11 @@ endif()
if (MAKE_TESTS) if (MAKE_TESTS)
add_subdirectory(tests) add_subdirectory(tests)
endif() endif()
# useful for debugging CMake issues
#
# message(STATUS "print variables")
# get_cmake_property(_variableNames VARIABLES)
# foreach(_variableName ${_variableNames})
# message(STATUS "${_variableName}=${${_variableName}}")
# endforeach()