<font size=2 face="sans-serif">I've always been a little confused by FIND_PACKAGE
and those &quot;*-config.cmake&quot; files. So much so that I didn't use
them in my build system at all. The main question I have is that I have
several developers and numerous little and big libraries. Because the whole
project is so big it would be prohibitive for them all to work from a master
CMakeLists.txt file at the top. I want each developer to be able to go
the folder of the library they want to work on today and start building
there. I want all the libraries that library depends on to be built or
rebuilt if anything has changed in addition to building the current library.
</font>
<br>
<br><font size=2 face="sans-serif">I've been unable to find a simple solution
to this problem using CMake, which makes me wonder if what I'm doing is
off the wall, but it sounds so normal to me. I see these &quot;*-config.cmake&quot;
files but it seems they are generated from a CMakelist.txt file, which
wouldn't make any sense, because I'm not going to have a developer go to
each dependant library and build it seperately so that the &quot;*-config.cmake&quot;
can be generated so that he can have those variables back in the library
he really wants to build.</font>
<br>
<br><font size=2 face="sans-serif">What am I missing?</font>
<br>
<br><font size=2 face="sans-serif">-------------------------------------------------------------<br>
Aaron Wright</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Daniel Lidström &lt;daniel.lidstrom@sbg.se&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">&lt;cmake@cmake.org&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">03/20/2010 01:25 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [CMake] Handling library dependencies
and minimizing duplicated &nbsp; &nbsp; &nbsp; &nbsp;include_directories</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">cmake-bounces@cmake.org</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>&gt; If the projects UMC3D, GFL etc can be used independently,
but <br>
&gt; are all &quot;under your control&quot;, then you shouldn't write <br>
&gt; FindUMC3D.cmake, FindGFL.cmake etc files, but create <br>
&gt; UMC3D-config.cmake, GFL-config.cmake etc files instead. Read <br>
&gt; the documentation of the FIND_PACKAGE command, especially the <br>
&gt; paragraphs about the &quot;config mode&quot;. You'll also find many
<br>
&gt; discussions on this in the archives of this list.<br>
<br>
Thanks a lot for your help Mike!<br>
<br>
Regards,<br>
<br>
Daniel Lidström<br>
Stockholm, Sweden <br>
_______________________________________________<br>
Powered by </font></tt><a href=www.kitware.com><tt><font size=2>www.kitware.com</font></tt></a><tt><font size=2><br>
<br>
Visit other Kitware open-source projects at </font></tt><a href=http://www.kitware.com/opensource/opensource.html><tt><font size=2>http://www.kitware.com/opensource/opensource.html</font></tt></a><tt><font size=2><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: </font></tt><a href=http://www.cmake.org/Wiki/CMake_FAQ><tt><font size=2>http://www.cmake.org/Wiki/CMake_FAQ</font></tt></a><tt><font size=2><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</font></tt><a href=http://www.cmake.org/mailman/listinfo/cmake><tt><font size=2>http://www.cmake.org/mailman/listinfo/cmake</font></tt></a><tt><font size=2><br>
</font></tt>
<br>