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: 8d82f346757349a5ac758014a3192f835e4382bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/python
import sys
Import ('user_options_dict')
Import ('library_env')

phy_bullet_env = library_env.Copy ()

source_files = ['CcdPhysicsEnvironment.cpp',
                'CcdPhysicsController.cpp'
               ]

phy_bullet_env.Append (CPPPATH=['.', 
				'../common'])

phy_bullet_env.Append (CPPPATH = user_options_dict['BULLET_INCLUDE'])


if sys.platform=='win32':
	phy_bullet_env.Append (CXXFLAGS = ['/GR'])
	phy_bullet_env.Append (CCFLAGS =['/O2'])

phy_bullet_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Bullet', source=source_files)