[CMake] How does CPACK decide what goes into release packages?

Alexander Neundorf a.neundorf-work at gmx.net
Wed May 19 16:23:03 EDT 2010


On Tuesday 18 May 2010, kent williams wrote:
> Platform: OS X 10.5.8. We also want to support Linux and Windows, but
> are doing OS X first because it's usally the crankiest to get working.
>
> cpack version 2.9.20100511
>
> Using PackageMaker and Tar for generators.
>
> I don't have it all worked out, but I think the problems I'm having
> aren't CPack's fault.  Someone else did the setup for CPack, and
> copied a bunch of complicated stuff from some other project, without
> understanding what it did, and then never debugged it.  Now I'm having
> to actually learn how to use CPack properly to unravel it all.

Just throw the complicated stuff away and start simple from scratch.
Just do a 
include(CPack)
and I think it will then complain about everything which should be set but 
isn't (... which is not much).

Alex


More information about the CMake mailing list