diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-04 12:20:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-04 12:20:48 +0300 |
commit | 5d99cde8229a481363f1439ea4a4c2af851b1cb1 (patch) | |
tree | 76ebd7548ddb8eee0c7039e7f154ac982b57e80f /source/blender/freestyle/SConscript | |
parent | 1eb5e0b6608b2c2bbc9813d9155ea379a5bc8ef4 (diff) |
Remove SCons building system
While SCons building system was serving us really good for ages it's no longer
having much attention by the developers and started to become quite a difficult
task to maintain.
What's even worse -- there started to be quite serious divergence between SCons
and CMake which was only accumulating over the releases now. The fact that none
of the active developers are really using SCons and that our main studio is also
using CMake spotting bugs in the SCons builds became quite a difficult task and
we aren't always spotting them in time.
Meanwhile CMake became really mature building system which is available on every
platform we support and arguably it's also easier and more robust to use.
This commit includes:
- Removal of actual SCons building system
- Removal of SCons git submodule
- Removal of documentation which is stored in the sources and covers SCons
- Tweaks to the buildbot master to stop using SCons submodule
(this change requires deploying to the server)
- Tweaks to the install dependencies script to skip installing or mentioning
SCons building system
- Tweaks to various helper scripts to avoid mention of SCons folders/files
as well
Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit
Reviewed By: campbellbarton, juicyfruit
Differential Revision: https://developer.blender.org/D1680
Diffstat (limited to 'source/blender/freestyle/SConscript')
-rw-r--r-- | source/blender/freestyle/SConscript | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/source/blender/freestyle/SConscript b/source/blender/freestyle/SConscript deleted file mode 100644 index ac1cbefa48c..00000000000 --- a/source/blender/freestyle/SConscript +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/python -import sys -Import ('env') - -sources = [] - -incs = [ - '#/intern/guardedalloc', - '#/extern/glew/include', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../freestyle', - '../imbuf', - '../makesdna', - '../makesrna', - '../python', - '../python/intern', - '../render/extern/include', - '../render/intern/include', - env['BF_PYTHON_INC'], - env['BF_PNG_INC'], - ] -incs = ' '.join(incs) - -defs = ['WITH_FREESTYLE'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -######################################################## -# folders sources -######################################################## - -# system -prefix = 'intern/system' -system_sources = env.Glob(prefix + '/*.cpp') - -# image -prefix = 'intern/image' -image_sources = env.Glob(prefix + '/*.cpp') - -# geometry -prefix = 'intern/geometry' -geometry_sources = env.Glob(prefix + '/*.cpp') - -# scene_graph -prefix = 'intern/scene_graph' -scene_graph_sources = env.Glob(prefix + '/*.cpp') - -# winged_edge -prefix = 'intern/winged_edge' -winged_edge_sources = env.Glob(prefix + '/*.cpp') - -# view_map -prefix = 'intern/view_map' -view_map_sources = env.Glob(prefix + '/*.cpp') - -# stroke -prefix = 'intern/stroke' -stroke_sources = env.Glob(prefix + '/*.cpp') - -# application -prefix = 'intern/application' -application_sources = env.Glob(prefix + '/*.cpp') - -# blender_interface -prefix = 'intern/blender_interface' -interface_sources = env.Glob(prefix + '/*.cpp') - -# Python -prefix = 'intern/python' -python_sources = env.Glob(prefix + '/*.cpp') + \ - env.Glob(prefix + '/*/*.cpp') + \ - env.Glob(prefix + '/*/*/*.cpp') + \ - env.Glob(prefix + '/*/*/*/*.cpp') - -sources = system_sources + image_sources + geometry_sources + scene_graph_sources + \ - winged_edge_sources + view_map_sources + stroke_sources + \ - application_sources + interface_sources - -if False: # gives link errors 'win' in env['OURPLATFORM']: - env.BlenderLib(libname="bf_freestyle_python", sources=python_sources, includes=Split(incs), - defines=defs, libtype=['core'], priority = [369] # bf_python is 361 - ) -else: - sources += python_sources - -env.BlenderLib(libname="bf_freestyle", sources=sources, includes=Split(incs), - defines=defs, libtype=['core'], priority = [370] # bf_python is 361 -) - |