1 MESSAGE("This is packaging script")
2 MESSAGE("It writes a file with all variables available in ${CMAKE_INSTALL_PREFIX}/AllVariables.txt")
4 FILE(WRITE ${CMAKE_INSTALL_PREFIX}/AllVariables.txt "")
5 GET_CMAKE_PROPERTY(res VARIABLES)
7 FILE(APPEND ${CMAKE_INSTALL_PREFIX}/AllVariables.txt
8 "${var} \"${${var}}\"\n")