[cmake-developers] [CMake 0015360]: XCode generated project yield "Project 'X' overrides the Architectures setting" warning

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 19 16:53:03 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15360 
====================================================================== 
Reported By:                Laurent Demailly
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15360
Category:                   CMake
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-01-19 16:53 EST
Last Modified:              2015-01-19 16:53 EST
====================================================================== 
Summary:                    XCode generated project yield "Project 'X' overrides
the Architectures setting" warning
Description: 
XCode generated project yield "Project 'X' overrides the Architectures setting"
warning
That Xcode offers to fix by saying
"This will remove the setting and allow Xcode to automatically select
Architectures based on the hardware available for the active platform and
deployment target."


Steps to Reproduce: 
ldemailly-mbp:cmake_test ldemailly$ cat CMakeLists.txt
# CMake build file

cmake_minimum_required(VERSION 3.1)

project("CmakeTest" C CXX)

# On MacOS this requires the latest (master) CMake (and/or CMake 3.2)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED on)

add_executable(test1 test1.cpp)

ldemailly-mbp:cmake_test ldemailly$ cat test1.cpp
int main() {return 0;}

ldemailly-mbp:cmake_test_xcode ldemailly$ cmake31 ../cmake_test -G Xcode
-- The C compiler identification is AppleClang 6.0.0.6000056
-- The CXX compiler identification is AppleClang 6.0.0.6000056
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Xcode
-- Check for working CXX compiler using: Xcode -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ldemailly/cmake_test_xcode
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-01-19 16:53 Laurent DemaillyNew Issue                                    
2015-01-19 16:53 Laurent DemaillyFile Added: Screenshot 2015-01-19 13.51.37.png 
                  
======================================================================



More information about the cmake-developers mailing list