The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12597 ====================================================================== Reported By: Hartmut Seichter Assigned To: ====================================================================== Project: CMake Issue ID: 12597 Category: CMake Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2011-11-29 06:04 EST Last Modified: 2011-11-29 06:04 EST ====================================================================== Summary: Makefile and Xcode generators adds bogus/hardcoded LD_FLAG values to iOS project file Description: Targeting iOS 5 from a Lion installation with Xcode 4.2.1 one cannot generate valid iOS project files.
Both, the Xcode and Makefile generators are adding LD_FLAG values that do not correspond to the selected SDK and compiler (CLang). Steps to Reproduce: Attached a minimal example. Setting up the build system either for Makefiles or Xcode does add " -Wl,-search_paths_first -Wl,-headerpad_max_install_names -arch armv6 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -miphoneos-version-min=4.0 " In Xcode that can be overridden by using the info panel of the project but any change in the project brings it back. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-11-29 06:04 Hartmut SeichterNew Issue 2011-11-29 06:04 Hartmut SeichterFile Added: Minimal_iOS.zip ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers