[CMake] Sub components with CPack and NSIS

Eric Noulard eric.noulard at gmail.com
Tue Mar 8 15:53:02 EST 2011


2011/3/8 NoRulez <norulez at me.com>:
> Ok,
>
> I mean a parent group instead of sub component.
> But i doesn't find any documentations about this too.

look in CPack.cmake
or

cmake --help-module CPack

> If it isn't implemented in CPack, can i mix cpack and nsis scripts, and if so how?

CPack is using a NSIS template file:

/usr/share/cmake-2.8/Modules/NSIS.template.in
(and there is
 /usr/share/cmake-2.8/Modules/NSIS.InstallOptions.ini.in too)

may be you can do some more NSIS scripting in a custom
NSIS.template.in file.

search the ML archive.
You'll find explanation on how to use a custom NSIS template with CPack.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list