MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010591 | CMake | CPack | public | 2010-04-22 05:54 | 2011-04-04 12:00 |
|
Reporter | Robert Bielik | |
Assigned To | David Cole | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-8 | |
Target Version | | Fixed in Version | CMake 2.8.4 | |
|
Summary | 0010591: For NSIS, CPack erroneously enforces a ..\bin\ folder |
Description | On Windows it is customary to have executables installed as:
C:\Program Files\Company\Product\Executable.exe
But CPack enforces the non-customary:
C:\Program Files\Company\Product\bin\Executable.exe
The appending of a bin folder is hardcoded in cmCPackNSISGenerator.cxx (454). Of course it is possible to override the generation of the CPACK_NSIS_CREATE_ICONS variable, but it is not... "clean" :) It should instead be an option via CPACK_PACKAGE_EXECUTABLES in CMakeLists.txt:
SET(CPACK_PACKAGE_EXECUTABLES "bin\\Executable" "The Executable")
|
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | duplicate of | 0007828 | closed | David Cole | Impossible to create a Nullsoft installer without referencing bin folder | related to | 0007829 | closed | David Cole | CPACK_PACKAGE_EXECUTABLES should allow executables from anywhere |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-04-22 05:54 | Robert Bielik | New Issue | |
2010-12-14 18:29 | David Cole | Assigned To | => David Cole |
2010-12-14 18:29 | David Cole | Status | new => assigned |
2010-12-14 18:59 | David Cole | Note Added: 0024121 | |
2010-12-14 18:59 | David Cole | Relationship added | duplicate of 0007828 |
2010-12-14 18:59 | David Cole | Status | assigned => resolved |
2010-12-14 18:59 | David Cole | Fixed in Version | => CMake 2.8.4 |
2010-12-14 18:59 | David Cole | Resolution | open => duplicate |
2011-01-07 17:39 | David Cole | Relationship added | related to 0007829 |
2011-04-04 12:00 | David Cole | Note Added: 0026047 | |
2011-04-04 12:00 | David Cole | Status | resolved => closed |