[CMake] Known issues with Xcode 6.x and CMake

Michael Jackson mike.jackson at bluequartz.net
Wed Oct 21 09:58:19 EDT 2015



> On Oct 19, 2015, at 7:01 AM, Gregor Jasny via CMake <cmake at cmake.org> wrote:
> 
> Hello,
> 
> On 17/10/15 18:28, Michael Jackson wrote:
>> Are there any known issues with Xcode 6.4 and CMake 3.3.x? I ask because in our project when we generate the Xcode project we end up with 2 or 3 executables listed in the drop down combo box. We also end up with lots of duplicate targets in the Xcode project. And the first time I open an Xcode project I have to click the “autocreate schemes” button about 30 times (I counted). We have 127 targets in our project currently.
>> 
>> Has anyone seen anything like this or have any comments? This is with Xcode 6.4 on OS X 10.10.5.
> 
> We also have projects which trigger the "Autocreate?" dialog but so far I did not notice the behavior you described.
> 
> Does this also happen after a complete re-configure with deleted build directory?
> 
> Thanks,
> Gregor
> 

Yes, it happens each time I do a completely clean re-configure. I am still trying to figure out why we have multiple executables listed for some projects but not others. We build some “MODULES” and we build actual dylibs. For the dylib targets there are only a single executable. For the MODULES however is where we get multiple executable targets for the same executable. It makes a long list even longer. i have spent some time trying to figure out the issues? We have lots of “project()” commands in our CMakeLists.txt files spread out over the project and I am trying to figure out if this is part of the problem? We also setup dependencies between the plugins and the main application to ensure they are all built when “ALL_BUILD” is used (Both on Xcode and Visual Studio). The Visual Studio 2013 generated solutions do not seem to have any issues so I think this is purely with the Xcode generators. 

—
Mike Jackson
BlueQuartz Software.



More information about the CMake mailing list