[CMake] CPack: Building Multiple Packages

Alexander Neundorf a.neundorf-work at gmx.net
Thu Apr 3 15:13:02 EDT 2008


On Thursday 03 April 2008, Mike Arthur wrote:
> Hey guys,
> First of all, nice work on CMake/CPack, great tools.
>
> I'm having some problems attempting to get CPack to build multiple packages
> and I'm wondering what I'm trying to do is possible.
>
> The folder layout (for this example) is the following:
> src/
> src/host/
> src/client/
>
> There are CMakeLists in src/host and src/client to build the packages
> independantly so I can package up those directories as source and send them
> off and have them build independently.
>
> However, what I want to be able to do is have a CMakeLists file in src
> which, when running "make package" in src will build SEPERATE packages for
> host AND client.
>
> Is this possible or am I barking up the wrong tree?

AFAIK this is currently not possible. Please file a feature request on 
http://public.kitware.com/Bug/ for the category "CPack".

Alex


More information about the CMake mailing list