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
--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to