MantisBT - CMake
View Issue Details
0015376CMakeCMakepublic2015-01-27 13:482015-06-01 08:38
tron_thomas 
 
normalminoralways
closedduplicate 
MacintoshOS X10.10
CMake 3.1 
 
0015376: CMake creates Xcode project with invalid project settings
A project configured for Xcode will have invalid project settings
Steps:
1.Create a simple hello world C++ module named Hello.cpp
2. Use the following CMake script to configure the project to build with Xcode 6.1.1

cmake_minimum_required (VERSION 3.1.0)

project(Hello)

add_executable(Hello Hello.cpp)

3. Open the Xcode project

Expected:
The project should open with no warnings or errors

Actual:
The project will contain the following warning about overriding architecture settings
This can be particularly bad for project that contains many buildables as Xcode may take a long time to fix the issue or may get hung up trying to apply the fix

It is also quite annoying when someone frequently reconfigures the project with CMake as the problem return each time
No tags attached.
duplicate of 0014736closed Brad King Xcode warning due to set ARCHS (CMAKE_OSX_ARCHITECTURES) variable in project 
Issue History
2015-01-27 13:48tron_thomasNew Issue
2015-01-27 14:01Brad KingRelationship addedduplicate of 0014736
2015-01-27 14:01Brad KingNote Added: 0037844
2015-01-27 14:01Brad KingStatusnew => resolved
2015-01-27 14:01Brad KingResolutionopen => duplicate
2015-06-01 08:38Robert MaynardNote Added: 0038863
2015-06-01 08:38Robert MaynardStatusresolved => closed

Notes
(0037844)
Brad King   
2015-01-27 14:01   
Resolving as duplicate of 0014736.
(0038863)
Robert Maynard   
2015-06-01 08:38   
Closing resolved issues that have not been updated in more than 4 months.