[CMake] CPack: Building Multiple Packages

Mike Arthur mike at mikearthur.co.uk
Thu Apr 3 09:23:56 EDT 2008


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?

-- 
Cheers,
Mike Arthur


More information about the CMake mailing list