View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010417CMakeModulespublic2010-03-13 16:362010-11-09 22:57
ReporterClinton Stimpson 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0010417: BundleUtilities/GetPrerequisites not doing bundleutilities example correctly
DescriptionThere is an example here:
http://www.cmake.org/Wiki/BundleUtilitiesExample [^]

That doesn't work correctly.

There are two problems.

1.
otool -L also returns the install id, if it exists, which means get_prerequistes can return the target itself as a dependency of the target. This causes problems for BundleUtilities.cmake.
The attached patch fixes this.

2.
BundleUtilities.cmake makes the assumptions that plugins have to reside in the same directory as the executable. In the example, the Qt plugins have a special layout.

Attached patch fixes both issues.
TagsNo tags attached.
Attached Filespatch file icon bundle_and_gp.patch [^] (2,455 bytes) 2010-03-13 16:36 [Show Content]

 Relationships
child of 0009744closedDavid Cole BundleUtilities making extra copies of plugins 

  Notes
(0021730)
Mike McQuaid (reporter)
2010-08-12 09:13

It would be great to help with this, if I can at all?
(0021790)
David Cole (manager)
2010-08-18 00:36

Mike, have you tried the attached patch? Works for you? Thanks...
(0021798)
Mike McQuaid (reporter)
2010-08-18 04:53

Sorry, yes, this attached patch works great for me.
(0022120)
David Cole (manager)
2010-09-07 22:27

Pushed to CMake 'next' just now:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e93a4b4d3421ced7b8c852b76c0dcb427f798df8 [^]

Should make it into the upcoming 2.8.3 release.

 Issue History
Date Modified Username Field Change
2010-03-13 16:36 Clinton Stimpson New Issue
2010-03-13 16:36 Clinton Stimpson File Added: bundle_and_gp.patch
2010-07-13 09:30 Bill Hoffman Status new => assigned
2010-07-13 09:30 Bill Hoffman Assigned To => David Cole
2010-08-05 17:28 Clinton Stimpson Relationship added child of 0009744
2010-08-12 09:13 Mike McQuaid Note Added: 0021730
2010-08-18 00:36 David Cole Note Added: 0021790
2010-08-18 04:53 Mike McQuaid Note Added: 0021798
2010-08-31 17:58 David Cole Target Version => CMake 2.8.3
2010-09-07 22:27 David Cole Note Added: 0022120
2010-09-07 22:27 David Cole Status assigned => resolved
2010-09-07 22:27 David Cole Resolution open => fixed
2010-09-09 23:59 David Cole Fixed in Version => CMake 2.8.3
2010-11-09 22:57 Philip Lowman Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team