[CMake] Including another CMakeLists project

Petr Bena benapetr at gmail.com
Wed Dec 10 09:42:23 EST 2014


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?


More information about the CMake mailing list