From 8cc7e6330934f3928256cb59914dde2413f2dcc8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 22 Sep 2016 17:12:49 -0700 Subject: [PATCH] Add commented out hack to dump all CMake variables I use this all the time when debugging CMake issues. Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 09afcf882..06d9f6dd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -447,3 +447,11 @@ endif() if (MAKE_TESTS) add_subdirectory(tests) endif() + +# useful for debugging CMake issues +# +# message(STATUS "print variables") +# get_cmake_property(_variableNames VARIABLES) +# foreach(_variableName ${_variableNames}) +# message(STATUS "${_variableName}=${${_variableName}}") +# endforeach()