[CMake] Custom NSIS script

Yevgen Muntyan ymuntyan at gmail.com
Fri Dec 26 15:00:29 EST 2008


On Fri, Dec 26, 2008 at 4:08 AM, Nicolas Desprès
<nicolas.despres at gmail.com> wrote:
> On Thu, Dec 25, 2008 at 9:45 PM, Yevgen Muntyan <ymuntyan at gmail.com> wrote:
>>
>> I've got a question: how to use my custom NSIS script with
>> CMake+CPack?
>
> You could copy the original NSIS.template.in from cmake sources in
> your CMAKE_MODULE_PATH and then patch it to do the same job of your
> custom nsis script.

I've done this using scripting instead, I created a target
'win-installer' which
does roughly the same as what 'make package' does. CMake scripting is
pretty nice, if you don't mind funny language.

Best regards,
Yevgen


More information about the CMake mailing list