On 2014-12-24 11:07-0600 Chris Johnson wrote:

Perhaps I need to clarify.

It's a very large project with many directories and interdependent
libraries.  So he is starting a make in one library, and then working on a
program in another subtree of the same project, and running a make there.

Since the entire project shares just one large build tree out-of-source,
both compiles share the same CMakeCache.txt and CMakeFiles/*.

This is not a case of "parallel" makes (-j N) started from one directory.

Hi Chris:

I haven't used it myself that way, but my understanding is CMake deals
well with the issue of building extremely large sets of interdependent
software libraries. I therefore suggest you take a look at some large
software projects (e.g., KDE and/or VTK, but perhaps others here have
additional examples) to see how those software projects organize their
builds with CMake.  That may give you some ideas on how to avoid the
build issue you have discovered for the current way you organize the
build of your interdependent set of libraries.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to