From 6de829cb7a2b78657d3aa1d1ced04ac98cd8ebac Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 May 2013 18:42:28 +0000 Subject: code cleanup: split scons includes onto multiple lines, reduce chance of include conflicts later on. --- source/blender/editors/gpencil/SConscript | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'source/blender/editors/gpencil') diff --git a/source/blender/editors/gpencil/SConscript b/source/blender/editors/gpencil/SConscript index f72e124e862..4ce9921bb09 100644 --- a/source/blender/editors/gpencil/SConscript +++ b/source/blender/editors/gpencil/SConscript @@ -29,14 +29,27 @@ Import ('env') sources = env.Glob('*.c') -incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf' -incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include' -incs += ' ../../gpu ../../blenloader ../../bmesh ../../blenfont' -incs += ' ../../makesrna ../../render/extern/include #/intern/elbeem/extern' +incs = [ + '#/intern/guardedalloc', + '#/extern/glew/include', + '#/intern/elbeem/extern', + '../include', + '../../blenfont', + '../../blenkernel', + '../../blenlib', + '../../blenloader', + '../../bmesh', + '../../gpu', + '../../imbuf', + '../../makesdna', + '../../makesrna', + '../../render/extern/include', + '../../windowmanager', + ] defs = [] if env['WITH_BF_INTERNATIONAL']: defs.append('WITH_INTERNATIONAL') -env.BlenderLib ( 'bf_editors_gpencil', sources, Split(incs), defs, libtype=['core'], priority=[45] ) +env.BlenderLib('bf_editors_gpencil', sources, incs, defs, libtype=['core'], priority=[45]) -- cgit v1.2.3