[CMake] Post install scripts for debian

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Oct 19 04:46:20 EDT 2009


On Fri, Oct 16, 2009 at 8:15 PM, Eric Noulard <eric.noulard at gmail.com> wrote:
> 2009/10/16 as <rmctodd at gmail.com>:
>> Hello:
>>
>> We are using CMake to create inhouse deb packages for our project. We
>> need to run a script after installing the package: postinst script
>> which is possible in Debian. I don't know how to enable this from
>> CMake - do I set some flags? Do I just put the file in a particular
>> location? I'm not able to find much help on the web.
>
> Normally information about CPack generator may be found on the Wiki
>  http://www.cmake.org/Wiki/CMake:CPackPackageGenerators
>

Actually it is located here:
http://www.itk.org/Wiki/CMake:CPackConfiguration#Debian_settings

2cts
-- 
Mathieu


More information about the CMake mailing list