Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SConscript « Bullet « Physics « gameengine « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 44b7540263050f09a8f3a9b485b7e3da44feb74b (plain)
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
#!/usr/bin/python
Import ('env')

sources = 'CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp CcdGraphicController.cpp'

incs = '. ../common'
incs += ' #source/kernel/gen_system'
incs += ' #intern/string'
incs += ' #intern/moto/include'
incs += ' #extern/glew/include'
incs += ' #source/gameengine/Rasterizer'
incs += ' #source/gameengine/Ketsji'
incs += ' #source/gameengine/Expressions'
incs += ' #source/gameengine/GameLogic'
incs += ' #source/gameengine/SceneGraph'
incs += ' #source/blender/makesdna'
incs += ' #source/blender/blenkernel'
incs += ' #source/blender/blenlib'
incs += ' #intern/guardedalloc'

incs += ' ' + env['BF_BULLET_INC']
incs += ' ' + env['BF_PYTHON_INC']

cxxflags = []
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
	cxxflags.append ('/GR')
	cxxflags.append ('/O2')
	cxxflags.append ('/EHsc')

env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['core','player'], priority=[350,80], cxx_compileflags=cxxflags )