Hello,

I would like CMake to not set the following property in the project at all:

ARCHS = "$(ARCHS_STANDARD)"

That is, I would like this property to not even show up in the
*pbxproj*file (which can be found inside the generated
*xcodeproj* bundle. In fact, I would like it to be removed by CMake. This
will allow Xcode to set it automatically. Otherwise, Xcode issues a warning
which must be fixed by either manually resetting all the properties of all
the targets OR allowing Xcode to fix it. The issue with allowing Xcode to
fix it is that not only is it an extra step, but it also changes other
unrelated properties which causes issues in our build.

Some more details

   - Using Xcode 5
   - Build is for iOS
   - The above mentioned property is controlled by (as far as I can tell)
   by CMAKE_OSX_ARCHITECTURE variable. I tried unsetting it, setting it to
   $(ARCHS_STANDARD) and various other options but none of them worked. Xcode
   always complained.

Thanks,
Saad
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to