[CMake] Xcode: Nested Xcode Projects

2011-11-22 Thread Matthias Dörfelt
Hi, I am currently generating sub projects with cmake using the add_subdirectory command together with the Xcode generator. It works, but the top level Xcode project includes the sources and targets of all the sub projects. Is it possible to make it reference the actual Xcode sub projects inste

[CMake] Cmake: Link boost statically in Xcode

2011-11-21 Thread Matthias Dörfelt
Hi, I am new to Xcode and I am currently trying to replicate existing Xcode projects (i manually created) with CMake for future portability reasons. Anyways, I am experiencing some weirdness when trying to build a static library using the Xcode generator. Here is an excerpt of the CMake script: