-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmake.yaml
131 lines (130 loc) · 3.15 KB
/
tmake.yaml
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---
name: nodeKitten
target: static
configure:
for: cmake
build:
mac, ios:
matching:
- core/**/*.cpp
- ext/**/*.cpp
- ext/**/*.c
- "!core/**/*tests*.cpp"
- "!core/platform/android/**/*.*"
- "!core/platform/emscripten/**/*.*"
cxxFlags:
std: c++14
fobjc-arc: true
with: cmake
path:
install:
headers:
- from: source
to: include/nodeKitten
require:
png:
git:
repository: glennrp/libpng
archive: v1.6.25
build:
with: cmake
path:
project: source
install:
headers:
- from: source
to: include/png
- from: build/x64
to: include/png
freetype-gl:
git: rougier/freetype-gl
configure:
for: ninja
build:
with: ninja
matching:
- "*.c"
path:
install:
headers:
- from: source
to: include/freetype-gl
require:
freetype:
name: freetype
archive: http://download.savannah.gnu.org/releases/freetype/freetype-2.7.tar.gz
configure:
for: ninja
build:
with: ninja
mac:
matching:
- src/autofit/autofit.c
- src/base/*.c
- src/bdf/bdf.c
- src/bzip2/ftbzip2.c
- src/cache/ftcache.c
- src/cff/cff.c
- src/cid/type1cid.c
- src/gzip/ftgzip.c
- src/lzw/ftlzw.c
- src/pcf/pcf.c
- src/pfr/pfr.c
- src/psaux/psaux.c
- src/pshinter/pshinter.c
- src/psnames/psnames.c
- src/raster/raster.c
- src/sfnt/sfnt.c
- src/smooth/smooth.c
- src/truetype/truetype.c
- src/type1/type1.c
- src/type42/type42.c
- src/winfonts/winfnt.c
cFlags:
DFT2_BUILD_LIBRARY: 1
require:
zlib:
git:
repository: madler/zlib
tag: v1.2.8
configure:
for: ninja
replace:
gzguts:
matching:
- "gzguts.h"
inputs:
unistd:
- "\n\n#ifdef _LARGEFILE64_SOURCE"
- "\n\n#include <unistd.h>\n#ifdef _LARGEFILE64_SOURCE"
build:
with: ninja
matching:
- "*.c"
compilerFlags:
ios:
miphoneos-version-min: "=6.0"
cFlags:
O: 3
Wall: true
Wwrite-strings: true
Wpointer-arith: true
Wconversion: true
ios:
"fembed-bitcode": true
bz2:
name: bz2
archive: http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
configure:
for: ninja
build:
with: ninja
matching:
- "*.c"
cFlags:
O: 2
g: true
Wall: true
D_FILE_OFFSET_BITS: 64
Winline: true
Wconversion: true