[CMake] ExternalProject_Add and Boost
Bill Hoffman
bill.hoffman at kitware.com
Mon Jun 18 14:17:38 EDT 2012
On 6/18/2012 2:03 PM, Knox, Kent wrote:
> That is an interesting approach; if this 'superbuild' cmake project
> downloaded and built all the external dependencies first, then my
> project could find those dependencies with the appropriate find
> module? I suppose that the 'superbuild' could set the BOOST_ROOT
> variable (or other appropriate variables) for my real project. I'll
> play around with this idea when I get
Usually, you make your project just another build in the superbuild.
Then you can send down all the cmake variables required to make your
project see all of the projects it needs to find.
http://www.kitware.com/products/html/BuildingExternalProjectsWithCMake2.8.html
-Bill
More information about the CMake
mailing list