-
Notifications
You must be signed in to change notification settings - Fork 6
/
bsp-loader.gyp
67 lines (67 loc) · 1.31 KB
/
bsp-loader.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
{
'make_global_settings': [
['CXX','/usr/bin/clang++'],
['LINK','/usr/bin/clang++'],
],
'target_defaults': {
'xcode_settings': {
'OTHER_CFLAGS': [
'-std=c++11',
'-g',
'-D_THREAD_SAFE',
],
'OTHER_LDFLAGS': [
'-L/usr/local/lib',
'-lSDLmain',
'-Wl,-framework,Cocoa',
],
},
'cflags': [
'-std=c++11',
],
'product_dir': '../../resources/'
},
'targets': [
{
'target_name': 'osx',
'product_name': 'bsp-renderer',
'type': 'executable',
'sources': [
'src/bot_input_component.cpp',
'src/shader_loader.cpp',
'src/entity.cpp',
'src/texture_loader.cpp',
'src/font.cpp',
'src/world.cpp',
'src/logger.cpp',
'src/bezier.cpp',
'src/model.cpp',
'src/bsp.cpp',
'src/player_animation_component.cpp',
'src/frustum.cpp',
'src/player_input_component.cpp',
'src/input.cpp',
'src/player_physics_component.cpp',
'src/main.cpp',
'src/q3_shader.cpp',
'src/messenger.cpp',
'src/renderer.cpp',
'src/shader.cpp',
],
'include_dirs': [
'/usr/local/include',
'/usr/local/include/SDL2'
],
'ldflags': [
'-L/usr/local/lib',
],
'libraries': [
'-framework OpenGL',
'-lSDL2',
'-lSDL2_image',
'-lGlew',
'-lboost_system',
'-lboost_filesystem',
],
}],
}