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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/SConscript3
-rw-r--r--source/blender/src/SConscript3
-rw-r--r--source/creator/SConscript29
3 files changed, 34 insertions, 1 deletions
diff --git a/source/SConscript b/source/SConscript
index e0005569caf..1d614db7514 100644
--- a/source/SConscript
+++ b/source/SConscript
@@ -1,6 +1,7 @@
Import ('user_options_dict')
SConscript(['blender/SConscript',
- 'kernel/SConscript'])
+ 'kernel/SConscript',
+ 'creator/SConscript'])
if user_options_dict['BUILD_GAMEENGINE'] == 1:
SConscript (['gameengine/SConscript'])
diff --git a/source/blender/src/SConscript b/source/blender/src/SConscript
index 91c75559f2c..4e434655059 100644
--- a/source/blender/src/SConscript
+++ b/source/blender/src/SConscript
@@ -143,6 +143,9 @@ if user_options_dict['USE_INTERNATIONAL'] == 1:
src_env.Append (CPPDEFINES = 'INTERNATIONAL')
src_env.Append (CPPDEFINES = 'FTGL_STATIC_LIBRARY')
+if user_options_dict['USE_BUILDINFO'] == 1:
+ src_env.Append (CPPDEFINES = 'NAN_BUILDINFO')
+
src_env.Append (CPPPATH=extra_includes)
src_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_blendersrc', source=source_files)
diff --git a/source/creator/SConscript b/source/creator/SConscript
new file mode 100644
index 00000000000..6210f578af2
--- /dev/null
+++ b/source/creator/SConscript
@@ -0,0 +1,29 @@
+creator_env = Environment ()
+
+Import ('cflags')
+Import ('cxxflags')
+Import ('defines')
+Import ('user_options_dict')
+creator_env.Append (CCFLAGS = cflags)
+creator_env.Append (CXXFLAGS = cxxflags)
+creator_env.Append (CPPDEFINES = defines)
+
+source_files = ['creator.c']
+
+creator_env.Append (CPPPATH = ['#/intern/guardedalloc',
+ '../blender/blenlib',
+ '../blender/blenkernel',
+ '../blender/include',
+ '../blender/blenloader',
+ '../blender/imbuf',
+ '../blender/renderconverter',
+ '../blender/render/extern/include',
+ '../blender/python',
+ '../blender/makesdna',
+ '../kernel/gen_messaging',
+ '../kernel/gen_system'])
+
+if user_options_dict['USE_QUICKTIME'] == 1:
+ creator_env.Append (CPPDEFINES = ['WITH_QUICKTIME'])
+
+creator_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_creator', source=source_files)