<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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 class="moz-txt-link-freetext" href="http://www.cmtsite.org/">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
cite="mid:CA+T-u8fgxX3s8j70yM9HOSTCnNGTr93-jfFvHGWO81rSbncrBA@mail.gmail.com"
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><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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</blockquote>
<br>
</body>
</html>