Hello,

I'm the new guy :D

So I inherited a project which uses CMake as part of it's build process. It is 
generating Xcode project files (for an iOS static library), and I am stumbling 
across an old error:

http://www.cmake.org/pipermail/cmake/2010-December/041518.html

The problem, again, is that -headerpad_max_install_names is put into the "Other 
C++ Flags" (OTHER_CPLUSPLUSFLAGS ) section of the Xcode project. The result is: 
clang: error: argument unused during compilation: '-headerpad_max_install_names'

If I manually remove this flag, and put it into the "Other Linker Flags" 
(OTHER_LDFLAGS), things get better.

To me, it appears as if this problem should have been resolved long ago, but I 
can not fully understand the details.

I am using Xcode 5.0 (i.e. clang 5.0), and I am trying to compile for iOS 7. 
CMake is at 2.8.12.1

Any pointers are appreciated!

Alex
-- 

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