mirror of
https://github.com/reactos/CMake.git
synced 2024-12-20 18:48:14 +00:00
11 lines
367 B
CMake
11 lines
367 B
CMake
MESSAGE("This is packaging script")
|
|
MESSAGE("It writes a file with all variables available in ${CMAKE_INSTALL_PREFIX}/AllVariables.txt")
|
|
|
|
FILE(WRITE ${CMAKE_INSTALL_PREFIX}/AllVariables.txt "")
|
|
GET_CMAKE_PROPERTY(res VARIABLES)
|
|
FOREACH(var ${res})
|
|
FILE(APPEND ${CMAKE_INSTALL_PREFIX}/AllVariables.txt
|
|
"${var} \"${${var}}\"\n")
|
|
ENDFOREACH(var ${res})
|
|
|