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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/SConscript')
-rw-r--r--source/blender/python/SConscript27
1 files changed, 7 insertions, 20 deletions
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index 670041a6504..9d7fcf6a9cf 100644
--- a/source/blender/python/SConscript
+++ b/source/blender/python/SConscript
@@ -1,30 +1,17 @@
#!/usr/bin/python
Import ('env')
-sources = env.Glob('*.c') + env.Glob('api2_2x/*.c')
+sources = env.Glob('intern/*.c')
-incs = 'api2_2x ../blenkernel ../nodes ../blenlib ../blenloader'
-incs += ' ../render/extern/include ../radiosity/extern/include'
-incs += ' ../makesdna #intern/guardedalloc #intern/bmfont ../imbuf ../include'
-incs += ' #extern/glew/include ../gpu'
+incs = '. ../editors/include ../makesdna ../makesrna ../blenlib ../blenkernel ../nodes'
+incs += ' ../imbuf ../blenloader ../render/extern/include ../windowmanager'
+incs += ' #intern/guardedalloc #intern/memutil'
incs += ' ' + env['BF_PYTHON_INC']
-incs += ' ' + env['BF_OPENGL_INC']
defs = []
-if env['OURPLATFORM'] in ('win32-mingw') and env['BF_DEBUG']:
- defs.append('Py_TRACE_REFS')
-
-if env['WITH_BF_QUICKTIME']:
- incs += ' ' + env['BF_QUICKTIME_INC']
- defs.append('WITH_QUICKTIME')
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
+if env['OURPLATFORM'] in ('win32-mingw', 'win32-vc') and env['BF_DEBUG']:
+ defs.append('Py_TRACE_REFS')
-if env['BF_BUILDINFO']:
- defs.append('NAN_BUILDINFO')
+env.BlenderLib( libname = 'bf_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core'], priority = [140])
-env.BlenderLib ( libname='blender_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype=['core','game2'], priority = [60,115] )