You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
367 B
11 lines
367 B
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})
|
|
|