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?
signature.asc
Description: OpenPGP digital signature
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake