[CMake] Including another CMakeLists project
Micha Hergarden
micha.hergarden at gmail.com
Wed Dec 10 13:15:30 EST 2014
If the projects are truly independent, you may also want to look at the
external_project command.
Regards,
Micha
On 12/10/2014 03:42 PM, Petr Bena wrote:
> I have 3 projects, all using cmake. When I run cmake on each of them
> and separately build them, it's all fine.
>
> When I use include() on these 2 cmake files in 1 of them, so that I
> could run only 1 cmake and then build them all using 1 make, it fails.
>
> I believe that these 3 cmakes are colliding with each other, is there
> a way to run it isolated?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141210/3f3693fe/attachment.sig>
More information about the CMake
mailing list