[CMake] cpack and PackageMaker

Bill Hoffman bill.hoffman at kitware.com
Thu Apr 2 10:39:26 EDT 2009


Benne, Kyle wrote:
> Hello CMake Users,
> 
>  
> 
> Quick question.  Does CPack support pre and post flight scripts with the 
> PackageMaker generator?
> 

Yes, it does, CMake uses this for installing the command line tools.

     SET(CPACK_POSTFLIGHT_SCRIPT "@CMAKE_POSTFLIGHT_SCRIPT@")
     SET(CPACK_POSTUPGRADE_SCRIPT "@CMAKE_POSTUPGRADE_SCRIPT@")

-Bill



More information about the CMake mailing list