Hi

We have been using a configuration system named CMT which exactly cope with this issue
It used to be directly based on pure Make files for the build aspect.
Nowadays, we are converting the build part to using CMake, while preserving te general configuration properties.

In fact, we do manage a graph of packages (ie directories in CMake terms) themselves organized into a graph (DAG) of projects

I had to revert the relationship between subdirs to respect the order of dependencies but this works

http://www.cmtsite.org/

the use relationship is based on a kind of client approach: a used package/project provides features (exports) to packages/projects that use them.

this is not the concept of subdirectory offered by CMake but can be emulated by hiding the automatic propagation of properties, while restoring properties of subdir after coming back a subdir access, and appending them to local props.

This work is not yet finished but it should come to what you describe: a specific installation area per project, a global rebuild action (but one single build directory per project)

We may discuss later on, on this issued ...

Christian



Le 29/04/2012 21:43, Alexander Broekhuis a écrit :
Hi all,

I am looking for a way to have dependencies between independent projects. For examplehave been

ProjectA
ProjectB depends on A
ProjectC depends on B and A

What I like to do is that when project B or C is build, the dependencies are also build. But I also want the project to be independent, to be more specific, if the project files for A are being generated I don't want the files for B and C generated.

Basically my problem is, that I don't want all Makefile to be generated all at once. But only those needed for a certain project (and its dependencies). This helps with not having installed every library needed by all (sub)projects.

Has anyone any experience with this, or perhaps some hints how I can solve this problem?

TiA!

--
Met vriendelijke groet,

Alexander Broekhuis


--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to