From: martin-s Date: Fri, 2 Sep 2011 19:28:22 +0000 (+0000) Subject: Fix:Build:Improved toolchain files for osx X-Git-Tag: navit-0.5.0.5194svn~447 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6641219d281f9e17933f7bd06144c2a1f0343b9d;p=profile%2Fivi%2Fnavit.git Fix:Build:Improved toolchain files for osx git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4748 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/Toolchain/xcode-iphone-sim-3.2.cmake b/navit/Toolchain/xcode-iphone-sim-3.2.cmake deleted file mode 100644 index ed8001a..0000000 --- a/navit/Toolchain/xcode-iphone-sim-3.2.cmake +++ /dev/null @@ -1,5 +0,0 @@ -set(USE_UIKIT 1) -set(CMAKE_OSX_SYSROOT /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS3.2.sdk) -set(CMAKE_FIND_ROOT_PATH ${CMAKE_OSX_SYSROOT}) -set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) diff --git a/navit/Toolchain/xcode-iphone-sim.cmake b/navit/Toolchain/xcode-iphone-sim.cmake new file mode 100644 index 0000000..7e80940 --- /dev/null +++ b/navit/Toolchain/xcode-iphone-sim.cmake @@ -0,0 +1,7 @@ +SET(USE_UIKIT 1) +SET(TARGETSDK iPhoneSimulator3.2.sdk) +SET(CMAKE_OSX_SYSROOT /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/${TARGETSDK} CACHE STRING "") +SET(CMAKE_TRY_COMPILE_OSX_BUNDLE 1) +SET(CMAKE_FIND_ROOT_PATH ${CMAKE_OSX_SYSROOT}) +SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) diff --git a/navit/Toolchain/xcode-iphone.cmake b/navit/Toolchain/xcode-iphone.cmake new file mode 100644 index 0000000..06aa1d4 --- /dev/null +++ b/navit/Toolchain/xcode-iphone.cmake @@ -0,0 +1,8 @@ +SET(USE_UIKIT 1) +SET(TARGETSDK iPhoneOS4.3.sdk) +SET(CMAKE_OSX_SYSROOT /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/${TARGETSDK} CACHE STRING "") +SET(CMAKE_TRY_COMPILE_OSX_BUNDLE 1) +SET(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer") +SET(CMAKE_FIND_ROOT_PATH ${CMAKE_OSX_SYSROOT}) +SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)