mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 13:56:00 +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})
|
|
|