[CMake] Collecting libraries for NSIS installer

Richard Shaw hobbes1069 at gmail.com
Wed Aug 20 17:37:39 EDT 2014


Ok, short answer to #1, no you can't use install(CODE because all your
cmake variables we be evaluated now instead of later.

Same problem though when I use install(SCRIPT...

Run CPack packaging tool...
CPack: Create package using NSIS
CPack: Install projects
CPack: - Run preinstall target for: FreeDV
CPack: - Install project: FreeDV
warning: target '$<TARGET_FILE:freedv>' is not absolute...
warning: target '$<TARGET_FILE:freedv>' does not exist...
C:/msys32/mingw32/bin/objdump.exe: '$<TARGET_FILE:freedv>': No such file
"Dependencies:"

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140820/1180b885/attachment.html>


More information about the CMake mailing list