Skip to content
Snippets Groups Projects
Commit cd8959c4 authored by Brecht Van Lommel's avatar Brecht Van Lommel
Browse files

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.
parent c2d5afd8
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,10 @@ ...@@ -28,7 +28,10 @@
Import ('env') Import ('env')
defs = ['GLEW_STATIC'] 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 = [ incs = [
'.', '.',
...@@ -56,4 +59,7 @@ incs = [ ...@@ -56,4 +59,7 @@ incs = [
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
incs.append(env['BF_PTHREADS_INC']) 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])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment