From 2d126cfec1ea0e9f9b0e345677d12b70838b7b49 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 3 Aug 2014 13:07:46 -0700 Subject: Add an OSX_DEPLOY_TARGET option to control building for a target OS version. It should be set to an OS version, such as "10.5" or "10.6" or..., and, if set (and if you're building for "APPLE"), it'll try to find the SDK (and fail if it's not found), and add appropriate -isysroot, -mmacosx-version-min, and, if appropriate, -m32 compiler options. (It will need more work once we support building OS X app bundles and installers; pick up more stuff from configure.ac for that.) Change-Id: I0aebf2db8aa39304a41be4e2a9879dea6f308ec7 Reviewed-on: https://code.wireshark.org/review/3388 Reviewed-by: Guy Harris --- README.cmake | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.cmake') diff --git a/README.cmake b/README.cmake index 65cfe850ef..1c416e0880 100644 --- a/README.cmake +++ b/README.cmake @@ -119,11 +119,12 @@ What needs to be done? - Build source package (using CPack). This is obsolete if we decide to release VCS snapshots instead - Build packages (Windows installer, RPM, SVR4, OS X installer dmg) - (using CPack). + (using CPack). This includes setting OS target version stuff + appropriately for OS X. - Add back checkAPI target. - Test and add support for other platforms (BSDs, OS X, - Solaris, Win32, Win64, ...) -- Support building against an SDK for OS X. + Solaris, Win32, Win64, ...) - we're currently doing CMake builds on OS + X, and Solaris. - Add support for cmake configurations. - Automatically figure out if *shark is running from the build directory (making WIRESHARK_RUN_FROM_BUILD_DIRECTORY unnecessary like it is with -- cgit v1.2.3