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/blenpluginapi')
-rw-r--r--source/blender/blenpluginapi/SConscript20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/blender/blenpluginapi/SConscript b/source/blender/blenpluginapi/SConscript
new file mode 100644
index 00000000000..33800197f6d
--- /dev/null
+++ b/source/blender/blenpluginapi/SConscript
@@ -0,0 +1,20 @@
+blenplugin_env = Environment()
+
+# Import the C flags set in the SConstruct file
+Import ('cflags')
+Import ('cxxflags')
+Import ('defines')
+blenplugin_env.Append (CCFLAGS = cflags)
+blenplugin_env.Append (CXXFLAGS = cxxflags)
+blenplugin_env.Append (CPPDEFINES = defines)
+
+source_files = ['intern/pluginapi.c']
+
+blenplugin_env.Append (CPPPATH = ['.',
+ '..',
+ '#/intern/guardedalloc',
+ '../blenlib',
+ '../imbuf',
+ '../makesdna'])
+
+blenplugin_env.Library (target='#/lib/blender_blenpluginapi', source=source_files)