-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.yml
75 lines (68 loc) · 1.96 KB
/
project.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: TinyEMU-iOS
packages:
SwiftTerm:
path: Vendors/SwiftTerm
options:
bundleIdPrefix: com.fernandotcl
deploymentTarget:
iOS: 13.5
usesTabs: false
identWidth: 4
tabWidth: 4
settings:
DEVELOPMENT_TEAM: LF9WRPC84S
SWIFT_VERSION: 5.2
targets:
TinyEMU-iOS:
type: application
platform: iOS
info:
path: Info.plist
properties:
UILaunchStoryboardName: Launch
UISupportedInterfaceOrientations: [
UIInterfaceOrientationPortrait,
UIInterfaceOrientationLandscapeLeft,
UIInterfaceOrientationLandscapeRight,
]
UISupportedInterfaceOrientations~ipad: [
UIInterfaceOrientationPortrait,
UIInterfaceOrientationLandscapeLeft,
UIInterfaceOrientationLandscapeRight,
UIInterfaceOrientationPortraitUpsideDown
]
UIFileSharingEnabled: true
LSSupportsOpeningDocumentsInPlace: true
settings:
SWIFT_OBJC_BRIDGING_HEADER: Sources/BridgingHeader.h
OTHER_LDFLAGS: -lresolv -lz
sources:
- Sources
- Launch.storyboard
- Assets/Machine.bundle
dependencies:
- target: TinyEMU
- package: SwiftTerm
TinyEMU:
productName: libTinyEMU
type: library.static
platform: iOS
postCompileScripts:
- inputFiles:
- $(SRCROOT)/**/*.{c,h}
- $(SRCROOT)/Makefile
outputFiles:
- $(BUILT_PRODUCTS_DIR)/libtemu.a
script: |
set -e
cd "${SRCROOT}"/Vendors/TinyEMU
make clean
if test "x${PLATFORM_NAME}" = xiphoneos; then
make CONFIG_IOS=y CONFIG_FS_NET= CONFIG_SDL= CONFIG_X86EMU=
else
make CONFIG_IOS_SIMULATOR=y CONFIG_FS_NET= CONFIG_SDL= CONFIG_X86EMU=
fi
mkdir -p "${BUILT_PRODUCTS_DIR}"/
mv libtemu.a "${BUILT_PRODUCTS_DIR}/libTinyEMU.a"
make clean
requiresObjCLinking: true