MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015400 | CMake | Modules | public | 2015-02-10 09:21 | 2016-06-10 14:31 |
| Reporter | Ruslan Baratov | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | Windows 7 | OS Version | ||
| Product Version | CMake 3.1.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015400: fixup_bundle does not work on cpack stage | ||||
| Description | fixup_bundle works as expected if cmake installs target, but not when cpack creating a package. | ||||
| Steps To Reproduce | Example with Visual Studio 12, Qt and NSIS generator (see attached CMakeLists.txt and main.cpp): 1. cmake -H. -B_builds "-GVisual Studio 12 2013" -DCMAKE_INSTALL_PREFIX=_install -DCPACK_GENERATOR=NSIS 2. cmake --build _builds --config Release --target install 3. dependent Qt libraries installed in local _install directory: -- fixup_bundle: copying... -- 1/14: *NOT* copying '.../_install/bin/foo.exe' -- 2/14: copying '.../bin/Qt5Core.dll' -- 3/14: copying '.../bin/Qt5Gui.dll' -- 4/14: copying '.../bin/Qt5Widgets.dll' -- 5/14: copying '.../bin/icudt53.dll' -- 6/14: copying '.../bin/icuin53.dll' -- 7/14: copying '.../bin/icuuc53.dll' -- fixup_bundle: fixing... -- 8/14: fix-up not required on this platform '.../_install/bin/foo.exe' -- 9/14: fix-up not required on this platform '.../_install/bin/Qt5Core.dll' -- 10/14: fix-up not required on this platform '.../_install/bin/Qt5Gui.dll' -- 11/14: fix-up not required on this platform '.../_install/bin/Qt5Widgets.dll' -- 12/14: fix-up not required on this platform '.../_install/bin/icudt53.dll' -- 13/14: fix-up not required on this platform '.../_install/bin/icuin53.dll' -- 14/14: fix-up not required on this platform '.../_install/bin/icuuc53.dll' 4. But not if cpack build installer: > cd _builds > cpack --verbose -C Release -GNSIS CPack Verbose: fixup_bundle: copying... CPack Verbose: 1/2: *NOT* copying '.../_builds/_CPack_Packages/win32/NSIS/Foo-1.0.0-win32/bin/foo.exe' CPack Verbose: fixup_bundle: fixing... CPack Verbose: 2/2: fix-up not required on this platform '.../_builds/_CPack_Packages/win32/NSIS/Foo-1.0.0-win32/bin/foo.exe' CPack Verbose: fixup_bundle: cleaning up... CPack Verbose: fixup_bundle: verifying... | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5379/CMakeLists.txt https://public.kitware.com/Bug/file/5380/main.cpp | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-02-10 09:21 | Ruslan Baratov | New Issue | |||
| 2015-02-10 09:21 | Ruslan Baratov | File Added: CMakeLists.txt | |||
| 2015-02-10 09:21 | Ruslan Baratov | File Added: main.cpp | |||
| 2015-02-10 10:58 | Brad King | Note Added: 0037953 | |||
| 2015-02-10 11:18 | Ruslan Baratov | Note Added: 0037954 | |||
| 2015-02-10 11:30 | Ruslan Baratov | Note Added: 0037955 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042712 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||