Hello!<br /><br />22:02, 19 February 2017 г., "tonka3100@gmail.com" <tonka3100@gmail.com>:<br /><blockquote><p>Hey @everybody,<br /><br />I have a question about best practice for app bundling especially 3rdparty libs. In Linux it is not some common to bundle 3rdparty libs with my application but in windows this is highly recommended. What’s a good way to bundle 3rdparty libs (mostly .dll, sometimes also .exe) in windows (maybe macos x has the same „problem“).<br /><br />At the moment i use install(FILES …) to install the 3rdparty libs (i’ve tried to install imported target, but thats not possible :-( ). I use a cmake variable to activate (default is off) to copy 3rdparty libs to the install directory. The only other way i could go is to add a cpack_install_script file, but this is only availabe in cpack time.<br /><br />So is there a better way to bundle 3rdparty libs or is this the recommended approach?<br /><br />Thanks in advance<br />Tonka<br /></p><span>-- <br /></span><p><br />Powered by <a href="http://www.kitware.com">www.kitware.com</a><br /><br />Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br /><br />Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br /><br />CMake Support: <a href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a><br />CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a><br />CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a><br /><br />Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br /><br />Follow this link to subscribe/unsubscribe:<br /><a href="http://public.kitware.com/mailman/listinfo/cmake">http://public.kitware.com/mailman/listinfo/cmake</a></p><p></p></blockquote><br /><div>You can try DaD's Way:</div><div><br /></div><div>https://dad.podsvirov.pro/house</div><div><br /></div><div>Build each module separately and use a cross-platform installer.<br /></div><div><br /></div><div>--</div><div>Regards,</div><div>Konstantin Podsvirov</div><div><br /></div>