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 'intern/guardedalloc/SConscript')
-rw-r--r--intern/guardedalloc/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/intern/guardedalloc/SConscript b/intern/guardedalloc/SConscript
new file mode 100644
index 00000000000..23e4faa75fe
--- /dev/null
+++ b/intern/guardedalloc/SConscript
@@ -0,0 +1,15 @@
+guardal_env = Environment()
+
+# Import the C flags set in the SConstruct file
+Import ('cflags')
+Import ('cxxflags')
+Import ('defines')
+guardal_env.Append (CCFLAGS = cflags)
+guardal_env.Append (CXXFLAGS = cxxflags)
+guardal_env.Append (CPPDEFINES = defines)
+
+source_files = ['intern/mallocn.c']
+
+guardal_env.Append (CPPPATH = ['.'])
+
+guardal_env.Library (target='#/lib/blender_guardedalloc', source=source_files)