Re: [CMake] BundleUtilities not working

2015-07-31 Thread Rashad M
On Thu, Jul 30, 2015 at 8:55 PM, Bill Somerville wrote: > On 30/07/2015 19:36, Rashad M wrote: > > Hi all, > > Hi Rashad > > > We have a similar way here to get dll dependencies recursively and create > a zip archive. Ideally, this could be integrated in cmake but not sure if > that will be ok on

Re: [CMake] BundleUtilities not working

2015-07-30 Thread Bill Somerville
On 30/07/2015 19:36, Rashad M wrote: Hi all, Hi Rashad We have a similar way here to get dll dependencies recursively and create a zip archive. Ideally, this could be integrated in cmake but not sure if that will be ok on cmake side. The code doesn't uses fixup_bundle(..) but follows a simi

Re: [CMake] BundleUtilities not working

2015-07-30 Thread Rashad M
Hi all, We have a similar way here to get dll dependencies recursively and create a zip archive. Ideally, this could be integrated in cmake but not sure if that will be ok on cmake side. The code doesn't uses fixup_bundle(..) but follows a similar function syntax. package_mingw( ARCH "${

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Brad King
On 07/28/2015 12:51 PM, Bill Somerville wrote: > The possible lack of grep is a potential issue so your read > back from file suggestion is interesting, is there a recognized place to > write temporary files like this? IIRC the code in question runs during "cmake -P cmake_install.cmake" scripts

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Bill Somerville
On 28/07/2015 17:47, Brad King wrote: Hi Brad, On 07/28/2015 11:32 AM, Bill Somerville wrote: I have checked for objdump command options to reduce the output but there don't appear to be any that help. TBH running from the command line as, for example: $ objdump -p | grep 'DLL Name:' runs

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Brad King
On 07/28/2015 11:32 AM, Bill Somerville wrote: > I have checked for objdump command options to reduce the output but > there don't appear to be any that help. TBH running from the command > line as, for example: > > $ objdump -p | grep 'DLL Name:' > > runs in a fraction of a second compared

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Bill Somerville
On 28/07/2015 16:03, Bill Hoffman wrote: Hi Bill, On 7/28/2015 8:59 AM, Bill Somerville wrote: Hi, I am suffering issues with BundleUtilities fixup_bundle() when used on Windows with MinGW. The issue is because the underlying GetPrerequisites module uses the MS dumpbin.exe utility to find depen

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Bill Hoffman
On 7/28/2015 8:59 AM, Bill Somerville wrote: Hi, I am suffering issues with BundleUtilities fixup_bundle() when used on Windows with MinGW. The issue is because the underlying GetPrerequisites module uses the MS dumpbin.exe utility to find dependent libraries of executables. This is a problem be

[CMake] BundleUtilities not working

2015-07-28 Thread Bill Somerville
Hi, I am suffering issues with BundleUtilities fixup_bundle() when used on Windows with MinGW. The issue is because the underlying GetPrerequisites module uses the MS dumpbin.exe utility to find dependent libraries of executables. This is a problem because it crashes on many libraries and exe