[CMake] CPack installation directory
Lars
laasunde at hotmail.com
Fri Feb 28 08:29:48 EST 2014
Hello,
Using CMake version 2.8.12.1 on Windows 7
Here is a test project which produces a MSI which by default installs files to "C:\Program Files (x86)\Product\"
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
PROJECT(TBD)
SET(CPACK_PACKAGE_NAME "TBD")
SET(CPACK_INSTALL_PREFIX "C:/TBD")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Product")
SET(CPACK_WIX_UPGRADE_GUID "A8DAADFA-A2A6-3322-12A3-AF5CD7704008")
SET(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/TBD)
INSTALL(
DIRECTORY "img"
DESTINATION "img"
COMPONENT "res")
INCLUDE(CPack)
-----
How can I configure the wix generator to produce a msi which by default install files to c:\tbd ?
kind regards,
Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140228/ba7ab58e/attachment.html>
More information about the CMake
mailing list