On Wednesday 10 October 2007 22:32, Eric Noulard wrote:
> 2007/10/10, kent williams <[EMAIL PROTECTED]>:
> > I just installed the CVS CMake.  There is a CPackRPM.cmake file in the
> > Modules directory, but it's not clear to me how to tell CPack I want
> > to generate an RPM, or a Source RPM.
>
> If you want to tell CPack to generate RPM you should either:
>
> 1) Add RPM generator to the list of CPack generator
>     in your CMakeLists.txt
>
>     SET(CPACK_GENERATOR "TGZ;RPM")
>     INCLUDE(CPack)
>
>    Then make package will build both TGZ and RPM.

You can also skip setting CPAK_GENERATOR, then you will be able to 
enable/disable every package generator using cpack (with cmake cvs HEAD).

Alex
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to