2012-08-13 21:47:32 +04:00
|
|
|
message("This is packaging script")
|
|
|
|
message("It writes a file with all variables available in ${CMAKE_INSTALL_PREFIX}/AllVariables.txt")
|
2006-10-12 21:30:00 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
file(WRITE ${CMAKE_INSTALL_PREFIX}/AllVariables.txt "")
|
|
|
|
get_cmake_property(res VARIABLES)
|
|
|
|
foreach(var ${res})
|
|
|
|
file(APPEND ${CMAKE_INSTALL_PREFIX}/AllVariables.txt
|
2006-10-12 21:30:00 +04:00
|
|
|
"${var} \"${${var}}\"\n")
|
2012-08-13 21:50:14 +04:00
|
|
|
endforeach()
|
2006-10-12 21:30:00 +04:00
|
|
|
|