[CMake] BundleUtilities with Command line program on macOS

Michael Jackson mike.jackson at bluequartz.net
Mon Dec 5 09:29:55 EST 2016


I am using the BundleUtilites on macOS to create a redistributable 
package that consists of a large number of command line programs, 
libraries and other assorted support files. The issue that I am having 
is that each time BundleUtilities runs on a given executable, it will 
also attempt to "fix up" all the other executables in the installation 
directory. The result is that the packaging takes long and longer as it 
goes along, i.e., the first BundleUtility goes fast, but the second goes 
a bit slower because it attempts to fixup and verify the first AND the 
second. The third one does the first, second and third and so on and so on.

Short of some sort of workaround that looks for a lock file or 
completion file or something to stop BundleUtilities from running a 
bunch of times is there a "better way"?

Thanks

-- 
Michael A. Jackson
BlueQuartz Software, LLC
[e]: mike.jackson at bluequartz.net


More information about the CMake mailing list