forked from OpenEmu/Bliss-Core
-
Notifications
You must be signed in to change notification settings - Fork 2
/
BuildFlags.xcconfig
34 lines (27 loc) · 1.37 KB
/
BuildFlags.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
// BuildFlags.xcconfig
// Created by Joseph Mattiello on 11/1/18.
// All
GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
OTHER_CFLAGS = $(inherited)
OTHER_LDFLAGS = $(inherited) -ObjC
// Swift <--> C++ Interop
// 1. Include the "MYSWIFTMODULENAME-Swift.h" header from your C++ code. (Where MYSWIFTMODULENAME is your Swift module’s name)
// 2. Create the Swift object by calling the MYSWIFTMODULENAME::MYSWIFTCLASSNAME::init() method. (with your initializer's arguments)
SWIFT_OBJC_INTEROP_MODE = objcxx
// Device
//GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) TARGET_IPHONE=1
//OTHER_CFLAGS[sdk=iphoneos*] = $(inherited)
// Simulator
//GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*] = $(inherited) TARGET_IPHONE_SIMULATOR=1
//EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*] = *
//INCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*] = PVDebug.c
// tvOS Device
//GCC_PREPROCESSOR_DEFINITIONS[sdk=appletvos*] = $(inherited) TARGET_IPHONE=1
//EXCLUDED_SOURCE_FILE_NAMES[sdk=appletvos*][arch=*] = *
//INCLUDED_SOURCE_FILE_NAMES[sdk=appletvos*][arch=*] = PVDebug.c
// tvOS Simulator
//GCC_PREPROCESSOR_DEFINITIONS[sdk=appletvsimulator*] = $(inherited) TARGET_IPHONE_SIMULATOR=1
//EXCLUDED_SOURCE_FILE_NAMES[sdk=appletvsimulator*][arch=*] = *
//INCLUDED_SOURCE_FILE_NAMES[sdk=appletvsimulator*][arch=*] = PVDebug.c
//Kept in same TARGET_BUILD_DIR as others
//BUILD_DIR = $(SRCROOT)/lib