Bin Chen wrote
> Hi,
> 
> For Xcode generator, is it possible to specify CFLAGS for each
> architecture, e.g. i386 and x86_64? Thanks!
> 
> Best regards,
> Bin Chen

I used to set set_target_properties(${DRM_TARGET_NAME} PROPERTIES
XCODE_ATTRIBUTE_OTHER_CFLAGS[arch=${_NATIVE_ARCH}] "${MY_OTHER_CFLAGS}")

and noticed that this seemed to take precedence over the CMAKE_C_FLAGS,
however it seems to have stopped working in XCode 6.1, still investigating.

I wish there were a better way.



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/Xcode-generator-per-architecture-setting-tp7588687p7588883.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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://public.kitware.com/mailman/listinfo/cmake

Reply via email to