2014-10-14 9:21 GMT+02:00 Jörg Kreuzberger <[email protected]>:

> Hi!
>
> This was also new to me, quite good. Question is now: i have configured
> cpack in my CMakeLists to use TGZ only (on linux).
> The binary package is made as tgz. For the source 3 packages are generated
> (as in your example). How could this be
> limited to the same as for the binaries or a different but just one?
> With my sources it takes some time to package...
>

The way to select the list of CPack generator to be used is the same for
BINARY or SOURCE.

set(CPACK_GENERATOR "TGZ")
select TGZ for BINARY

set(CPACK_SOURCE_GENERATOR "TGZ")
does the same for SOURCE.

the default value of CPACK_SOURCE_GENERATOR is "TZ;TGZ;TBZ2"  (On unix).


-- 
Erk
L'élection n'est pas la démocratie -- http://www.le-message.org
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to