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/gameengine/Expressions/SConscript')
-rwxr-xr-xsource/gameengine/Expressions/SConscript37
1 files changed, 37 insertions, 0 deletions
diff --git a/source/gameengine/Expressions/SConscript b/source/gameengine/Expressions/SConscript
new file mode 100755
index 00000000000..c750bcd3e1a
--- /dev/null
+++ b/source/gameengine/Expressions/SConscript
@@ -0,0 +1,37 @@
+expressions_env = Environment()
+
+# Import the C flags set in the SConstruct file
+Import ('cflags')
+Import ('cxxflags')
+Import ('defines')
+Import ('python_include')
+expressions_env.Append (CCFLAGS = cflags)
+expressions_env.Append (CXXFLAGS = cxxflags)
+expressions_env.Append (CPPDEFINES = defines)
+
+source_files = ['BoolValue.cpp',
+ 'ConstExpr.cpp',
+ 'EmptyValue.cpp',
+ 'ErrorValue.cpp',
+ 'EXP_C-Api.cpp',
+ 'Expression.cpp',
+ 'FloatValue.cpp',
+ 'IdentifierExpr.cpp',
+ 'IfExpr.cpp',
+ 'InputParser.cpp',
+ 'IntValue.cpp',
+ 'KX_HashedPtr.cpp',
+ 'ListValue.cpp',
+ 'Operator1Expr.cpp',
+ 'Operator2Expr.cpp',
+ 'PyObjectPlus.cpp',
+ 'StringValue.cpp',
+ 'Value.cpp',
+ 'VectorValue.cpp']
+
+expressions_env.Append (CPPPATH = ['.',
+ '#source/kernel/gen_system',
+ '#intern/string',
+ python_include])
+
+expressions_env.Library (target='#/lib/blender_expressions', source=source_files)