diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-25 03:55:50 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-25 03:55:50 +0400 |
commit | cd8959c4bfb591c8b3d003aeec99cc5501c87e41 (patch) | |
tree | 6f5d7ae127b39e08890402544d4b5fa9a446d5c0 /source/blender/compositor/SConscript | |
parent | c2d5afd81f9488092f061e476ee824212eba1361 (diff) |
Attempt to workaround mingw64 buildbot issue with Windows command length limits,
by splitting the compositor module into 3 parts. The operating system limit is
32767, which gives less than 120 characters per file with 272 cpp files.
Diffstat (limited to 'source/blender/compositor/SConscript')
-rw-r--r-- | source/blender/compositor/SConscript | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/compositor/SConscript b/source/blender/compositor/SConscript index c0388438a98..8d7f036f172 100644 --- a/source/blender/compositor/SConscript +++ b/source/blender/compositor/SConscript @@ -28,7 +28,10 @@ Import ('env') defs = ['GLEW_STATIC'] -sources = env.Glob('intern/*.cpp') + env.Glob('nodes/*.cpp') + env.Glob('operations/*.cpp') +# split into 3 modules to work around command length limit on Windows +sources_intern = env.Glob('intern/*.cpp') +sources_nodes = env.Glob('nodes/*.cpp') +sources_operations = env.Glob('operations/*.cpp') incs = [ '.', @@ -56,4 +59,7 @@ incs = [ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): incs.append(env['BF_PTHREADS_INC']) -env.BlenderLib('bf_composite', sources, incs, defines=defs, libtype=['core'], priority=[164]) +env.BlenderLib('bf_composite_intern', sources_intern, incs, defines=defs, libtype=['core'], priority=[164]) +env.BlenderLib('bf_composite_nodes', sources_nodes, incs, defines=defs, libtype=['core'], priority=[165]) +env.BlenderLib('bf_composite_operations', sources_operations, incs, defines=defs, libtype=['core'], priority=[166]) + |