-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlapse.gyp
102 lines (101 loc) · 2.67 KB
/
lapse.gyp
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
{
"targets": [
{
"target_name": "lapse",
"type": "static_library",
"dependencies": [
"gearsbox/gearsbox.gyp:gearsbox"
],
"sources": [
"<!@(python ./gearsbox/deps/djinni/example/glob.py ./generated-src/cpp '*.cpp' '*.hpp' '*.h')",
"<!@(python ./gearsbox/deps/djinni/example/glob.py ./src/cpp '*.cpp' '*.hpp' '*.c' '*.h')",
"<!@(python ./gearsbox/deps/djinni/example/glob.py ./interface '*.hpp' '*.h')",
],
"include_dirs": [
"generated-src/cpp",
"src/cpp",
'gearsbox/src/cpp/ui',
],
},
{
"target_name": "lapse_objc",
"type": "static_library",
"dependencies": [
"lapse",
"gearsbox/gearsbox.gyp:gearsbox_objc"
],
"sources": [
"<!@(python ./gearsbox/deps/djinni/example/glob.py ./generated-src/objc '*.cpp' '*.h' '*.mm' '*.m')",
],
"include_dirs": [
"generated-src/objc",
"generated-src/cpp",
"src/cpp",
"gearsbox/deps/djinni/support-lib/objc",
'gearsbox/src/cpp/ui',
],
},
{
"target_name": "lapse_jni",
"type": "static_library",
"dependencies": [
"lapse",
"./gearsbox/gearsbox.gyp:gearsbox_jni"
],
"ldflags" : [ "-llog", "-Wl,--build-id,--gc-sections,--exclude-libs,ALL" ],
"sources": [
"<!@(python ./gearsbox/deps/djinni/example/glob.py ./generated-src/jni '*.cpp')",
],
"include_dirs": [
"generated-src/jni",
"generated-src/cpp",
"src/cpp",
"./gearsbox/deps/djinni/support-lib/jni",
],
},
{
'target_name': 'gtest',
'type': 'executable',
'dependencies': [
'lapse',
"gearsbox/gearsbox.gyp:gtest",
'gearsbox/deps/gtest.gyp:gtest',
],
'cflags_cc!': [ '-Werror', '-Wextra' ],
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS!' : ['-Werror', '-Wextra'],
},
'include_dirs': [
'.',
'gtest',
],
"defines": [
'TEST_STAND_ALONE',
'GEARSBOX_TEST',
],
'sources': [
'<!@(python gearsbox/deps/djinni/example/glob.py gtest *.cpp *.hpp *.h)',
]
},
{
'target_name': 'test',
'type': 'executable',
'dependencies': [
'lapse',
"gearsbox/gearsbox.gyp:test",
],
'cflags_cc!': [ '-Werror', '-Wextra' ],
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS!' : ['-Werror', '-Wextra'],
},
'include_dirs': [
'.',
],
"defines": [
],
'sources': [
'<!@(python gearsbox/deps/djinni/example/glob.py test *.cpp *.hpp *.h)',
]
},
],
}