[CMake] Separated Windows installers with CPack / NSIS

Trystan Louboutin tanstry at gmail.com
Tue Apr 26 09:03:43 EDT 2016


Hi,

I want to generate multiple Windows installers with CPack / NSIS (CMake
v3.5.2).

Each one will embed the same executable (same CMake project) but with
different configurations and documents.

I tried with separated components and played with many options like
- CPACK_NSIS_MONOLITHIC_INSTALL
- CPACK_NSIS_COMPONENT_INSTALL
- CPACK_ARCHIVE_COMPONENT_INSTALL
with no success, I always get a single .exe installer file...

Is it possible with CPack / NSIS directly?

-Trystan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160426/9bcc3e55/attachment.html>


More information about the CMake mailing list