Re: [CMake] Working with Multiple Projects

2012-03-20 Thread Petr Kmoch
As far as I know, you can't have two CMake projects in the same directory. Move one of the CMakeLists.txt files to a different one - either create a sudirectory for the subproject, or create a separate directory for the "top-level" CMakeLists.txt. Note that there is no need for directories added v

[CMake] Working with Multiple Projects

2012-03-19 Thread Hashim Mir
Hi there, I am currently working on transitioning over a project (that has multiple subprojects inside of it) over to Cmake. There is one thing that I am not sure about - basically, to include the subprojects from the top level CMakeLists.txt file, I just utilize the add_subdirectory command,