2 // this file sets the compiler and base SDK for the IPlug projects and the lice library xcode projects
3 // along with some other global build variables
5 // this is used for Developer ID / Appstore code-signing and is used in the makedist-mac shell script
6 CERTIFICATE_ID = Oliver Larkin
8 // Which compiler to use
9 //COMPILER = com.apple.compilers.gcc.4_2 // use this with xcode3
10 //COMPILER = com.intel.compilers.icc.12_1_0
11 //COMPILER = com.apple.compilers.llvmgcc42 // use this ...
12 COMPILER = com.apple.compilers.llvm.clang.1_0 // or this with xcode4+/10.7+
14 // which osx sdk to compile against - BASE_SDK rather than SDKROOT so we can override other xcconfigs (avid's)
15 //BASE_SDK = macosx10.9
16 //BASE_SDK = macosx10.6
17 //BASE_SDK = macosx10.7 // Carbon GUIs do not work fully with the 10.7 or higher sdks
18 //BASE_SDK = macosx10.8
21 //CLANG_CXX_LANGUAGE_STANDARD = c++0x
22 CLANG_CXX_LIBRARY = libc++
23 //CLANG_CXX_LIBRARY = libstdc++ // 10.6 < doesn't support libc++ so you have to use this if you want to support 10.6
25 // the minimum OS to support
26 MACOSX_DEPLOYMENT_TARGET = 10.7.0 // 10.7 or higher for C++11
28 // Where the SDKs etc are located in relation to the plugin xcode project
29 WDL_PATH = $(SRCROOT)/../../WDL
30 IPLUG_PATH = $(WDL_PATH)/IPlug
31 VST3_SDK = $(SRCROOT)/../../VST3_SDK
32 PT9_SDK = $(SRCROOT)/../../PT9_SDK
33 AAX_SDK = $(SRCROOT)/../../AAX_SDK
34 //CA_SDK = $DEVELOPER_DIR/Extras/CoreAudio
35 CA_SDK = $(SRCROOT)/../../CA_SDK
37 SHARED_PRECOMPS_DIR = $(SRCROOT)/../../PCH
38 GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO
40 CLANG_LINK_OBJC_RUNTIME = NO
42 // Where to build the plugins / app bundles ...
44 // build to system plugin folder
45 // you need to explicitly add write permissions to put stuff here
46 // you can also build to the user plugin folder, but the installer scripts assume that the binarys are in the system folder
47 // RTAS and AAX folders should be the location of the PT Dev build plug-ins folders
49 VST_FOLDER = /Library/Audio/Plug-Ins/VST
50 VST3_FOLDER = /Library/Audio/Plug-Ins/VST3
51 AU_FOLDER = /Library/Audio/Plug-Ins/Components
52 RTAS_FOLDER = /Applications/Avid/ProTools_3PDev/Plug-Ins
53 AAX_FOLDER = /Applications/Avid/ProTools_3PDev/Plug-Ins
54 APP_FOLDER = /Applications