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:
authorCampbell Barton <ideasman42@gmail.com>2012-08-11 19:24:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-11 19:24:31 +0400
commitb97fc46abc7d45d11c444999bfe329e0be10feec (patch)
treedb4a07b1c74709ba21c72f475edf12bc88373d6d /source/blender/editors/datafiles/SConscript
parent90f443bb86bdf5efc87633816df76b4c3bd49554 (diff)
remove all remaining data files from source, now all are converted at build time.
note: this is currently very slow in cmake, will address this next.
Diffstat (limited to 'source/blender/editors/datafiles/SConscript')
-rw-r--r--source/blender/editors/datafiles/SConscript18
1 files changed, 12 insertions, 6 deletions
diff --git a/source/blender/editors/datafiles/SConscript b/source/blender/editors/datafiles/SConscript
index 2a0183ad9bc..e0816f783d3 100644
--- a/source/blender/editors/datafiles/SConscript
+++ b/source/blender/editors/datafiles/SConscript
@@ -1,14 +1,22 @@
#!/usr/bin/python
Import ('env')
-sources = env.Glob('*.c')
-
-incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
-incs += ' ../../bmesh #/intern/guardedalloc'
+# all source generated now
+# sources = env.Glob('*.c')
+sources = []
+incs = ""
# generated data files
import os
sources.extend((
+ os.path.join(env['DATA_SOURCES'], "bfont.pfb.c"),
+ os.path.join(env['DATA_SOURCES'], "bfont.ttf.c"),
+ os.path.join(env['DATA_SOURCES'], "bmonofont.ttf.c"),
+
+ os.path.join(env['DATA_SOURCES'], "splash.png.c"),
+ os.path.join(env['DATA_SOURCES'], "blender_icons.png.c"),
+ os.path.join(env['DATA_SOURCES'], "prvicons.png.c"),
+
os.path.join(env['DATA_SOURCES'], "startup.blend.c"),
os.path.join(env['DATA_SOURCES'], "preview.blend.c"),
@@ -42,8 +50,6 @@ sources.extend((
os.path.join(env['DATA_SOURCES'], "thumb.png.c"),
os.path.join(env['DATA_SOURCES'], "twist.png.c"),
os.path.join(env['DATA_SOURCES'], "vertexdraw.png.c"),
-
- os.path.join(env['DATA_SOURCES'], "prvicons.png.c"),
))
env.BlenderLib ( 'bf_editor_datafiles', sources, Split(incs), [], libtype=['core', 'player'], priority=[235, 30] )