mirror of https://github.com/FreeRDP/FreeRDP
16 lines
449 B
CMake
16 lines
449 B
CMake
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()
|
|
|