Re: [CMake] fixup-bundle usability

2019-02-18 Thread Andreas Naumann
Thank you very much for your explaination. At the moment, I link only to boost and some in-house libraries. When experimenting with CMake and reading the docs, I got the same impression as you described. And I hoped to miss something obvious. When I understand you correctly, one have to set th

Re: [CMake] fixup-bundle usability

2019-02-18 Thread Francis Giraldeau
You are right, the fixup bundle is difficult to use. Here are some undocumented tips: Put the install(CODE) with the fixup_bundle() call in a CMakeLists.txt in its own directory. In your main CMakeLists.txt file, add this directory with add_subdirectory() last. This install(CODE) will run after al

[CMake] fixup-bundle usability

2019-02-16 Thread Andreas Naumann
Dear CMakers, recently I tried to bundle an application in Windows. From the documentation [1] I see that I should provide the directories to the non-system libraries. But these information should be already in the properties of the targets, arent they? Is there any extension in cmake, that