forked from nillerusr/source-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwscript
More file actions
executable file
·80 lines (70 loc) · 1.62 KB
/
wscript
File metadata and controls
executable file
·80 lines (70 loc) · 1.62 KB
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
#! /usr/bin/env python
# encoding: utf-8
from waflib import Utils
import os
top = '.'
PROJECT_NAME = 'vphysics'
def options(opt):
# stub
return
def configure(conf):
conf.env.append_unique('DEFINES',[
'VPHYSICS_EXPORTS',
'HAVANA_CONSTRAINTS',
'HAVOK_MOPP'
])
def build(bld):
source = [
'convert.cpp',
'../public/filesystem_helpers.cpp',
'ledgewriter.cpp',
'main.cpp',
'physics_airboat.cpp',
'physics_collide.cpp',
'physics_constraint.cpp',
'physics_controller_raycast_vehicle.cpp',
'physics_environment.cpp',
'physics_fluid.cpp',
'physics_friction.cpp',
'physics_material.cpp',
'physics_motioncontroller.cpp',
'physics_object.cpp',
'physics_shadow.cpp',
'physics_spring.cpp',
'physics_vehicle.cpp',
'physics_virtualmesh.cpp',
'trace.cpp',
'vcollide_parse.cpp',
'vphysics_saverestore.cpp',
'../public/tier0/memoverride.cpp'
]
includes = [
'.',
'../public',
'../public/tier0',
'../public/tier1',
'../ivp/ivp_intern',
'../ivp/ivp_collision',
'../ivp/ivp_physics',
'../ivp/ivp_surface_manager',
'../ivp/ivp_utility',
'../ivp/ivp_controller',
'../ivp/ivp_compact_builder',
'../ivp/havana/havok',
'../ivp/havana'
]
defines = []
libs = ['tier0','havana_constraints','hk_math','hk_base','ivp_compactbuilder','ivp_physics','tier1','tier2','vstdlib','mathlib']
install_path = bld.env.LIBDIR
bld.shlib(
source = source,
target = PROJECT_NAME,
name = PROJECT_NAME,
features = 'c cxx',
includes = includes,
defines = defines,
use = libs,
install_path = install_path,
subsystem = bld.env.MSVC_SUBSYSTEM,
idx = bld.get_taskgen_count()
)