https://github.com/Kitware/CMake
Revision 14170273fe9df493fa3d0867d980889d6d08e089 authored by Brad King on 26 February 2014, 14:41:41 UTC, committed by CMake Topic Stage on 26 February 2014, 14:41:41 UTC
0ea3aee8 MSVC: Add properties to configure compiler PDB files (#14763)

2 parent s 041ba1e + 0ea3aee
Raw File
Tip revision: 14170273fe9df493fa3d0867d980889d6d08e089 authored by Brad King on 26 February 2014, 14:41:41 UTC
Merge topic 'msvc-compiler-pdb-files'
Tip revision: 1417027
PackageScript.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()

back to top