mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] add script to dump variables
This commit is contained in:
9
cmake/DumpVariables.cmake
Normal file
9
cmake/DumpVariables.cmake
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
function(dump_cmake_variables)
|
||||||
|
get_cmake_property(_variableNames VARIABLES)
|
||||||
|
list(SORT _variableNames)
|
||||||
|
foreach(_variableName ${_variableNames})
|
||||||
|
if((NOT DEFINED ARGV0) OR _variableName MATCHES ${ARGV0})
|
||||||
|
message(STATUS "${_variableName}=${${_variableName}}")
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endfunction()
|
||||||
Reference in New Issue
Block a user