blob: de9e2df8870c2c9182595ba94c59663219ca0b3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
function(ShowCMakeVars)
get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
if (ARGV0)
unset(MATCHED)
string(REGEX MATCH ${ARGV0} MATCHED ${_variableName})
if (NOT MATCHED)
continue()
endif()
endif()
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
endfunction()
|