[CMake] Creating some kind of release target

Eric Noulard eric.noulard at gmail.com
Thu Mar 1 09:59:40 EST 2007


2007/3/1, Timo Rumland <cr at olympclan.de>:
> Hello,
>
> I recently created a new buildsystem for our project with CMake, and I
> like it much.
>
> Now I have to do some kind of release target, so we can pack a release
> version of our project for distributing it over sourceforge.
>
> What I need is a new build target named "release", when I build this
> ("make release" or building the target "release" in Visual Studio),
> all the sources will be zipped/tar.gz, so we can easily upload it to
> sourceforge.

You may use CPack for this need.
Look at:
http://www.cmake.org/Wiki/CMake:Packaging_With_CPack


-- 
Erk


More information about the CMake mailing list