| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0015483 | CMake | CMake | public | 2015-03-31 09:40 | 2015-11-02 09:13 | ||||
| Reporter | marc.chevrier | ||||||||
| Assigned To | |||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | Windows | OS | Windows x64 | OS Version | 7 | ||||
| Product Version | CMake 3.2.1 | ||||||||
| Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||||||
| Summary | 0015483: CMAKE_MAKE_PROGRAM not managed correctly with CMake/CPack | ||||||||
| Description | CMAKE_MAKE_PROGRAM is not propagated from CMake to CPack so preventing correct behavior if CMAKE_MAKE_PROGRAM refers to a program not the PATH This problem does not occur with all generators but is perfectly reproductible with "NMake Makefiles JOM" | ||||||||
| Steps To Reproduce | * jom.exe directory MUST NOT in PATH environment variable * generation step: cmake -G "NMake Makefiles JOM" -DCMAKE_MAKE_PROGRAM=<path-to-jom-tool> <src> * launch compilation: cmake --build . --target package Result: jom 1.0.14 - empower your cores Run CPack packaging tool... CPack: Create package using TGZ CPack: Install projects CPack: - Run preinstall target for: CMAKE_CPACK_BUG CPack Error: Problem running install command: "jom" "preinstall" Please check D:/tests/cmake/build/_CPack_Packages/win64/TGZ/PreinstallOutput.log for errors CPack Error: Error when generating package: CMAKE_CPACK_BUG jom: D:\tests\cmake\build\Makefile [package] Error 1 | ||||||||
| Additional Information | attached is the CMakeLists.txt used to show problem. I try to add to CPackConfig.cmake to set variable CPACK_CMAKE_MAKE_PROGRAM with correct value but problem is not solved. Correct behavior expected : CMake/CPack must managed correctly and automatically variable CMAKE_MAKE_PROGRAM. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0038371) Brad King (manager) 2015-03-31 10:37 |
Thanks. This should fix it: CPack: Fix make tool selection during preinstall http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=93a3ec8b [^] |
|
(0039755) Robert Maynard (manager) 2015-11-02 09:13 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2015-03-31 09:40 | marc.chevrier | New Issue | |
| 2015-03-31 09:40 | marc.chevrier | File Added: CMakeLists.txt | |
| 2015-03-31 10:37 | Brad King | Note Added: 0038371 | |
| 2015-03-31 10:37 | Brad King | Status | new => resolved |
| 2015-03-31 10:37 | Brad King | Resolution | open => fixed |
| 2015-03-31 10:37 | Brad King | Fixed in Version | => CMake 3.3 |
| 2015-03-31 10:37 | Brad King | Target Version | => CMake 3.3 |
| 2015-11-02 09:13 | Robert Maynard | Note Added: 0039755 | |
| 2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |