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:
Jeremie Guichard 2017-02-25 22:27:43 +07:00 committed by Dirk Hohndel
parent c2997c33c7
commit 7b08f8d23c
3 changed files with 49 additions and 6 deletions

View file

@ -46,3 +46,6 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
TestPicture
TestMerge
)
# useful for debugging CMake issues
# print_all_variables()