Hello all,

I would like to use the ExternalProject_Add command in one CMake project to include another CMake based project. Basically this works great, the project is downloaded, configured, build, tested and installed. (Great command, the ExternalProject!)

The libraries of the included project contain version numbers, so I have used the install(export) to generate a <project>.cmake file that can be included in the "top" CMake project. The problem is that the <project>.cmake is not available at CMake time. Is there a work-around so that I don't need to hardcode all the libraries and versions numbers in the "top" CMake project ?

I looked in the mailinglists and found that Mike Jackson asked the same question (03/24/2010). In the mean time there are perhaps new features in CMake or somebody created a smart work-around ?

Peter.
--

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