View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015360CMakeCMakepublic2015-01-19 16:532016-01-04 11:51
ReporterLaurent Demailly 
Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionduplicate 
PlatformApple MacOSOS XOS Version10.4.10
Product Version 
Target VersionFixed in Version 
Summary0015360: XCode generated project yield "Project 'X' overrides the Architectures setting" warning
DescriptionXCode 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 Reproduceldemailly-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
TagsNo tags attached.
Attached Filespng file icon Screenshot 2015-01-19 13.51.37.png [^] (243,998 bytes) 2015-01-19 16:53

 Relationships
duplicate of 0014736closedBrad King Xcode warning due to set ARCHS (CMAKE_OSX_ARCHITECTURES) variable in project 

  Notes
(0038849)
Robert Maynard (manager)
2015-06-01 08:38

Closing resolved issues that have not been updated in more than 4 months.
(0038886)
Laurent Demailly (reporter)
2015-06-05 16:50

I used
cmake version 3.2.2
on MacOS with XCode version 6.3 (6D570)
and I still see that warning - what is the workaround/anything I can put in my CMake file to not have this ?
(0038890)
Brad King (manager)
2015-06-08 08:28

This was resolved as a duplicate of 0014736, and that one is marked as fixed in CMake 3.3, not 3.2. Please try 3.3.0-rc1 or higher.
(0040060)
Robert Maynard (manager)
2016-01-04 11:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-01-19 16:53 Laurent Demailly New Issue
2015-01-19 16:53 Laurent Demailly File Added: Screenshot 2015-01-19 13.51.37.png
2015-01-20 09:03 Brad King Relationship added duplicate of 0014736
2015-01-20 09:03 Brad King Status new => resolved
2015-01-20 09:03 Brad King Resolution open => duplicate
2015-06-01 08:38 Robert Maynard Note Added: 0038849
2015-06-01 08:38 Robert Maynard Status resolved => closed
2015-06-05 16:50 Laurent Demailly Note Added: 0038886
2015-06-05 16:50 Laurent Demailly Status closed => feedback
2015-06-05 16:50 Laurent Demailly Resolution duplicate => reopened
2015-06-08 08:28 Brad King Note Added: 0038890
2015-06-08 08:28 Brad King Status feedback => resolved
2015-06-08 08:28 Brad King Resolution reopened => duplicate
2016-01-04 11:51 Robert Maynard Note Added: 0040060
2016-01-04 11:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team