[CMake] PackageMaker generator

David Cole david.cole at kitware.com
Mon Nov 23 08:48:09 EST 2009


SET(CPACK_POSTFLIGHT_SCRIPT "/installed/script/here.sh")

should do what you want...

"grep -rn POSTFLIGHT_SCRIPT *" in the CMake source tree for more
info/example use...


HTH,
David


On Sat, Nov 21, 2009 at 7:37 AM, Gustavo Gutierrez <
gustavo.ggutierrez at gmail.com> wrote:

> Hello,
>
> Is it possible to create a mac os x package (with the PackageMaker
> generator) that runs a post install script?. I am looking for the same
> functionality you get in debian when using:
>
> set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_BINARY_DIR}/postinst")
>
>
> Thanks in advance for any suggeston,
> --
> Gustavo
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091123/29224d07/attachment.htm>


More information about the CMake mailing list