Re: [CMake] fixup_bundle on Windows : issue with multiple exe applications

2016-03-19 Thread David Cole via CMake
A multiple folder approach will be very difficult. The basic assumptions are: - On Windows, the "one executable path" is the destination path to which to copy all of the DLLs that need to be copied, so they all end up in the same directory. (You'd have to have multiple copies in multiple

Re: [CMake] fixup_bundle on Windows : issue with multiple exe applications

2016-03-04 Thread Benjamin Ballet
FYI verifying_app failed with main.exe failed (3.4.3) because toptool depends on topdool.dll located only in toptoolfolder. The workaround is to include toptoolfolder in libs folder for fixup_bundle(main.exe...) David your answer was helpful to me. I know it's an expected behavior. Would a patch

Re: [CMake] fixup_bundle on Windows : issue with multiple exe applications

2016-03-04 Thread Benjamin Ballet
Indeed I was lucky : It worked with 3.3.1 but not anymore with 3.4.3.. I've got a strang bug with one .NET dll generated near a tool : CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/GetPrerequisites.cmake:798 (message): 106>C:/Program Files (x86)/Microsoft Visual Studio

Re: [CMake] fixup_bundle on Windows : issue with multiple exe applications

2016-03-03 Thread David Cole via CMake
It was designed originally with the assumption that all the executables in a bundle are in the same directory. If you violate that assumption, I don't think you can count on it to do the right thing 100% of the time. If it works for you calling it multiple times with deepest first, then maybe you

[CMake] fixup_bundle on Windows : issue with multiple exe applications

2016-03-03 Thread Benjamin Ballet
Hello I'd like to discuss a problem I encountered today with the very useful module BundleUtilities We have an application on Windows with one main exe file in the top folder and a few other exe in subdirectories, like that : applicationfolder \ | main.exe