comparison modules-and-plug-ins/max-external/maxmspsdk.xcconfig @ 83:3b69082715ea

Merge branch 'release/1.0.2'
author Adam Stark <adamstark.uk@gmail.com>
date Tue, 25 Nov 2014 23:00:13 +0000
parents 866024f9f95a
children
comparison
equal deleted inserted replaced
77:73855a26a0e0 83:3b69082715ea
1 // Xcode target configuration settings for the Max 6 SDK
2 // Used as the basis for Xcode projects to build Max externals.
3 //
4 // Changes to the settings in this file will be applied to all SDK examples
5 // To change settings for only one of the examples, override the settings using
6 // Xcode's target inspector.
7 //
8 // by Timothy Place
9 // Copyright © 2012, Cycling '74
10
11
12 // Name & Version
13 PRODUCT_NAME = $(PROJECT_NAME)
14 PRODUCT_VERSION = 6.1.4
15 //ARCHS = i386 x86_64
16 ARCHS = x86_64
17
18
19 // Paths
20
21 // ===========================================================================
22 // NOTE: SET PATH TO YOUR C74SUPPORT FOLDER IN YOUR MAX SDK HERE
23
24 C74SUPPORT = $(SRCROOT)/../../../SDKs/MaxSDK-6.1.4/c74support/
25
26 // ===========================================================================
27
28 HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
29 FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
30 DSTROOT = $(SRCROOT)/build
31 // (This next path is relative to DSTROOT)
32 INSTALL_PATH = /
33
34
35 // Special Files
36 GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch
37 INFOPLIST_FILE = $(SRCROOT)/Info.plist
38
39
40 // Architecture and Deployment
41 ARCHS = i386 x86_64
42
43 // The following section sets the Mac SDK version to be used.
44 // For most projects this has little to no impact because there are no direct dependencies on OS function calls.
45 // In those projects with OS function calls, it should be okay to use the most recent SDK version because the
46 // MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS.
47 // For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK).
48 //
49 // If you do need to define the SDKROOT, different versions of Xcode have varying syntax and varying versions of the SDK present.
50
51 // Xcode 3.x
52 // SDKROOT = $(DEVELOPER_DIR)/SDKs/MacOSX10.5.sdk
53
54 // Xcode 4.0 - Xcode 4.2
55 // SDKROOT = $(DEVELOPER_DIR)/SDKs/MacOSX10.6.sdk
56
57 // Xcode 4.3+
58 // SDKROOT = macosx10.6
59
60 MACOSX_DEPLOYMENT_TARGET = 10.6
61
62
63 // Compiler Version -- leave them all commented out to get the default version provided by Xcode
64 // GCC_VERSION = 4.2
65 // GCC_VERSION = com.apple.compilers.llvmgcc42
66 // GCC_VERSION = com.apple.compilers.llvm.clang.1_0
67
68
69 // Preprocessor Defines
70 GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1"
71
72
73 // Static Configuration (don't change these)
74 WRAPPER_EXTENSION = mxo;
75 WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
76 DEPLOYMENT_LOCATION = YES
77 GENERATE_PKGINFO_FILE = YES
78
79
80 // Flags to enforce some build-time checks for the symbols used while not actually performing a hard link
81 C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt
82
83
84 // hide all symbols by default
85 // mark a function to be exported with the C74_EXPORT macro -- most likely this will only apply to the main() function
86 OTHER_CFLAGS = -fvisibility=hidden