Re: [CMake] Target visibility in CMake using Xcode generator

2011-04-12 Thread Holtgrewe, Manuel
While this works with Makefiles, I could imagine that the Xcode generator doesn't allow to build a (sub)project from within its directory if there're references to the parent project, especially targets. Since I don't have access to an Xcode installation at the moment, I cannot investigate

Re: [CMake] Target visibility in CMake using Xcode generator

2011-04-10 Thread Michael Hertling
On 04/09/2011 06:32 PM, Manuel Holtgrewe wrote: There're two spots in your A/CMakeLists.txt catching my eye, although I doubt that they are actually causing the difficulties you report on: 1) The DEPENDS clause of ADD_CUSTOM_TARGET() is meant for file-level dependencies only, i.e. you

[CMake] Target visibility in CMake using Xcode generator

2011-04-09 Thread Manuel Holtgrewe
Dear all, I have an issue with the Xcode generator and the visibility of targets in the generated project files. The problem is that in the project files generated in subdirectories, targets from the directories above are not visible. At the bottom of the email, you can see the project

Re: [CMake] Target visibility in CMake using Xcode generator

2011-04-09 Thread Michael Hertling
On 04/09/2011 01:43 PM, Manuel Holtgrewe wrote: Dear all, I have an issue with the Xcode generator and the visibility of targets in the generated project files. The problem is that in the project files generated in subdirectories, targets from the directories above are not visible.

Re: [CMake] Target visibility in CMake using Xcode generator

2011-04-09 Thread Manuel Holtgrewe
There're two spots in your A/CMakeLists.txt catching my eye, although I doubt that they are actually causing the difficulties you report on: 1) The DEPENDS clause of ADD_CUSTOM_TARGET() is meant for file-level dependencies only, i.e. you shouldn't denote a target as target_aa but files and