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/img/SConscript')
-rw-r--r--source/blender/img/SConscript17
1 files changed, 4 insertions, 13 deletions
diff --git a/source/blender/img/SConscript b/source/blender/img/SConscript
index ed4564a3348..a2a60c3428b 100644
--- a/source/blender/img/SConscript
+++ b/source/blender/img/SConscript
@@ -1,15 +1,6 @@
-#!/usr/bin/python
-Import ('user_options_dict')
-Import ('library_env')
+#!/usr/bin/env python
+Import ('env')
-img_env = library_env.Copy ()
+sources = env.Glob('intern/*.cpp')
-source_files = ['intern/IMG_Api.cpp',
- 'intern/IMG_BrushRGBA32.cpp',
- 'intern/IMG_CanvasRGBA32.cpp',
- 'intern/IMG_Line.cpp',
- 'intern/IMG_Pixmap.cpp',
- 'intern/IMG_PixmapRGBA32.cpp',
- 'intern/IMG_Rect.cpp']
-
-img_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_img', source=source_files)
+env.BlenderLib ( 'blender_img', sources, [], [], libtype='core', priority = 35 )