forked from AlexHarker/AHarker_Externals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config_AHarker_Externals.xcconfig
executable file
·60 lines (38 loc) · 1.95 KB
/
Config_AHarker_Externals.xcconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Xcode target configuration settings
PRODUCT_NAME = $TARGET_NAME
// Paths
C74SUPPORT = $(SRCROOT)/../../../max-sdk-base/c74support
C74_HEADERS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon "$(SRCROOT)/../../AH_MaxMSP_Headers" $C74_HEADERS
FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
// To install on build set SKIP_INSTALL to NO and DSTROOT to the desired location
SKIP_INSTALL = NO
DEPLOYMENT_LOCATION = YES
DSTROOT = $(SRCROOT)/../../AH_Externals_Package/AHarker_Externals/externals
INSTALL_PATH = /
COPY_PHASE_STRIP = NO
// Special Files
GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch
GCC_PRECOMPILE_PREFIX_HEADER = YES
INFOPLIST_FILE = ../../AH_Externals_Info.plist
// Per architecture and deployment settings
MACOSX_DEPLOYMENT_TARGET = 10.11
CLANG_CXX_LANGUAGE_STANDARD = c++14
CLANG_CXX_LIBRARY = libc++
CLANG_X86_VECTOR_INSTRUCTIONS = avx
//CLANG_X86_VECTOR_INSTRUCTIONS = sse4.2
ARCHS = x86_64 arm64
// Static Configuration (don't change these)
WRAPPER_EXTENSION = mxo
GENERATE_PKGINFO_FILE = YES
// Increase warnings to minimise time spent working in Visual Studio and turn off unhelpful warnings
WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -Wdeclaration-after-statement
//-Werror -Wno-deprecated-declarations
// Flags to enforce some build-time checks for the symbols used while not actually performing a hard link
C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt
OTHER_LDFLAGS = -framework MaxAudioAPI -framework JitterAPI -framework Accelerate $(C74_SYM_LINKER_FLAGS)
// hide all symbols by default
// mark a function to be exported with the C74_EXPORT macro -- most likely this will only apply to the main() function
OTHER_CFLAGS = -fvisibility=hidden
// Avoid XCode warning for deprecated feature
ALWAYS_SEARCH_USER_PATHS = NO