[CMake] Build cmake child project from cmake parent project

Aaron Boxer boxerab at gmail.com
Wed Feb 19 18:24:44 EST 2014


I have cmake two projects, with project 2 added as a git submodule in
project 1.

I would like to build project 2 from project 1.

How can I do this? I tried add_subdirectory, but this is just for adding
source directories. I want to use the project 2 cmake files to build it.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140219/b8b61ca8/attachment.html>


More information about the CMake mailing list