2004-05-16 12:54:44 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2004-02-29 21:40:48 +00:00
|
|
|
|
2008-12-24 21:33:51 +00:00
|
|
|
sources = env.Glob('*.cpp')
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
incs = '. #intern/moto/include'
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2009-02-15 23:26:00 +00:00
|
|
|
cxxflags = []
|
2009-07-16 19:41:28 +00:00
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
2009-02-15 23:26:00 +00:00
|
|
|
cxxflags.append ('/GR')
|
|
|
|
cxxflags.append ('/O2')
|
2009-07-16 19:41:28 +00:00
|
|
|
cxxflags.append ('/EHsc')
|
2009-02-15 23:26:00 +00:00
|
|
|
|
2009-03-17 21:44:58 +00:00
|
|
|
env.BlenderLib ( 'bf_scenegraph', sources, Split(incs), [], libtype=['core','player'], priority=[325,125], cxx_compileflags = cxxflags )
|