[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57722] trunk/blender/source/blender/ compositor/SConscript: Attempt to workaround mingw64 buildbot issue with Windows command length limits ,

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Jun 25 01:55:50 CEST 2013


Revision: 57722
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57722
Author:   blendix
Date:     2013-06-24 23:55:50 +0000 (Mon, 24 Jun 2013)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/SConscript

Modified: trunk/blender/source/blender/compositor/SConscript
===================================================================
--- trunk/blender/source/blender/compositor/SConscript	2013-06-24 23:38:57 UTC (rev 57721)
+++ trunk/blender/source/blender/compositor/SConscript	2013-06-24 23:55:50 UTC (rev 57722)
@@ -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 @@
 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])
+




More information about the Bf-blender-cvs mailing list