Am 22. Februar 2018 04:20:40 MEZ schrieb "Marek Vojtko (Firaxis)" <marek.voj...@firaxis.com>: >I was looking into GetPrerequisites and FixupBundle, but both of those >operate on an already existing executable and try to guess what shared >libraries (DLLs) it might need. It feels silly to guess at something >that CMake already knows (as the IMPORTED target sets the >IMPORTED_IMPLIB and IMPORTED_LOCATION properties).
Actually at the point of installation this is the best approach especially for multi-config generators like e.g. Visual Studio. Else you'd have to know if a found .lib file is a shared or a static library (how?) and what DLL file it references. That's actually much more work than just looking at the actually dependencies of the binaries. Additionally if you don't exactly know for 3rd party binaries or plugins. Catching all directories to find the dll files is also not simple but easier. HS -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake