MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015516 | CMake | CPack | public | 2015-04-16 04:12 | 2015-11-02 09:13 |
Reporter | Dorian | ||||
Assigned To | Nils Gladitz | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | Windows | OS Version | 7 | |
Product Version | CMake 3.2.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015516: Wix with CPACK_PROJECT_CONFIG_FILE = wrong file name. | ||||
Description | CPACK_PACKAGE_VERSION_* variables set in CPACK_PROJECT_CONFIG_FILE are ignored in output file name. It always gives me installer-name-0.1.1-win32.msi | ||||
Steps To Reproduce | Add --- CMakeLists.txt --- set(CPACK_PROJECT_CONFIG_FILE ${CMAKE_BINARY_DIR}/CPackOptions.cmake) --- CMakeLists.txt end --- --- ${CMAKE_BINARY_DIR}/CPackOptions.cmake (generated by configure_file): SET(CPACK_PACKAGE_VERSION 1.9.50.65535) SET(CPACK_PACKAGE_VERSION_MAJOR 1) SET(CPACK_PACKAGE_VERSION_MINOR 9) SET(CPACK_PACKAGE_VERSION_PATCH 50) message("CPACK_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION}") message("CPACK_PACKAGE_VERSION_MAJOR ${CPACK_PACKAGE_VERSION_MAJOR}") message("CPACK_PACKAGE_VERSION_MINOR ${CPACK_PACKAGE_VERSION_MINOR}") message("CPACK_PACKAGE_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH}") --- CPackOptions.cmake end Pack message output: ... 4> CPACK_PACKAGE_VERSION 1.9.50.65535 4> CPACK_PACKAGE_VERSION_MAJOR 1 4> CPACK_PACKAGE_VERSION_MINOR 9 4> CPACK_PACKAGE_VERSION_PATCH 50 ... 4> CPack: - package: D:/proj-build/proj-name-0.1.1-win32.msi generated. | ||||
Additional Information | Note that version is displayed ok in ControlPanel->Add/Remove Programs, so it seems that only filename is a problem | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-04-16 04:12 | Dorian | New Issue | |||
2015-04-16 06:36 | Nils Gladitz | Note Added: 0038529 | |||
2015-04-16 08:10 | Dorian | Note Added: 0038530 | |||
2015-04-16 08:22 | Nils Gladitz | Note Added: 0038531 | |||
2015-04-16 08:22 | Nils Gladitz | Status | new => resolved | ||
2015-04-16 08:22 | Nils Gladitz | Resolution | open => no change required | ||
2015-04-16 08:22 | Nils Gladitz | Assigned To | => Nils Gladitz | ||
2015-11-02 09:13 | Robert Maynard | Note Added: 0039774 | |||
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|