[CMake] Collecting libraries for NSIS installer

Hendrik Sattler post at hendrik-sattler.de
Tue Aug 19 12:40:19 EDT 2014



On 19. August 2014 16:36:14 MESZ, David Cole via CMake <cmake at cmake.org> wrote:
>> Definitely getting warmer! It looks like that GetPrerequistes only
>> works on an existing target so I'm thinking I would have to set this
>> up as a "super" cmake project after the main project is already
>built?
>
>Right, or as a script that runs at "install" time. It requires an
>executable file to analyze, so it can come up with the required DLLs.

Actually I wonder why this is needed?
If all libraries are linked will full path or via imported targets (those that do it right on windows), why do the binaries have to be checked?

HS



More information about the CMake mailing list