Hi,<div><br></div><div>I'm very interested in this solution and the results if it is finished. Could you keep me up to date if you have something working?</div><div><br></div><div>Thx!<br><br><div class="gmail_quote">2012/4/30 Arnault Christian <span dir="ltr"><<a href="mailto:arnault@lal.in2p3.fr" target="_blank">arnault@lal.in2p3.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
We have been using a configuration system named CMT which exactly
cope with this issue<br>
It used to be directly based on pure Make files for the build
aspect.<br>
Nowadays, we are converting the build part to using CMake, while
preserving te general configuration properties.<br>
<br>
In fact, we do manage a graph of packages (ie directories in CMake
terms) themselves organized into a graph (DAG) of projects<br>
<br>
I had to revert the relationship between subdirs to respect the
order of dependencies but this works<br>
<br>
<a href="http://www.cmtsite.org/" target="_blank">http://www.cmtsite.org/</a><br>
<br>
the use relationship is based on a kind of client approach: a used
package/project provides features (exports) to packages/projects
that use them.<br>
<br>
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.<br>
<br>
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)<br>
<br>
We may discuss later on, on this issued ...<br>
<br>
Christian<br>
<br>
<br>
<br>
Le 29/04/2012 21:43, Alexander Broekhuis a écrit :
<blockquote type="cite">Hi all,
<div><br>
</div>
<div>I am looking for a way to have dependencies between
independent projects. For examplehave been <br>
</div><div class="im">
<div><br>
</div>
<div>ProjectA</div>
<div>ProjectB depends on A</div>
<div>ProjectC depends on B and A</div>
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Has anyone any experience with this, or perhaps some hints
how I can solve this problem?</div>
<div><br>
</div>
<div>TiA!<br clear="all">
<div><br>
</div>
-- <br>
Met vriendelijke groet,<br>
<br>
Alexander Broekhuis<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div><div class="im"><pre>--
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</div></blockquote>
<br>
</div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Met vriendelijke groet,<br><br>Alexander Broekhuis<br>
</div>