[CMake] Get CMake to unset/remove a property in the Xcode project
Saad Khattak
saadrustam at gmail.com
Thu May 15 15:33:37 EDT 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140515/f43a5672/attachment.html>
More information about the CMake
mailing list