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
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# ***** BEGIN LGPL LICENSE BLOCK *****
|
||||
#
|
||||
# Copyright 2009 Jrg Hermann Mller
|
||||
#
|
||||
# This file is part of AudaSpace.
|
||||
#
|
||||
# AudaSpace is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# AudaSpace is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with AudaSpace. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# ***** END LGPL LICENSE BLOCK *****
|
||||
|
||||
from os import path
|
||||
Import ('env')
|
||||
|
||||
sources = env.Glob('intern/*.cpp') + env.Glob('FX/*.cpp')
|
||||
|
||||
# AUD_PyInit is for external audaspace only
|
||||
sources.remove(path.join('intern', 'AUD_PyInit.cpp'))
|
||||
|
||||
|
||||
incs = '. intern FX ' + env['BF_PTHREADS_INC'] + ' ' + env['BF_BOOST_INC']
|
||||
defs = []
|
||||
|
||||
if env['WITH_BF_FFMPEG']:
|
||||
sources += env.Glob('ffmpeg/*.cpp')
|
||||
incs += ' ffmpeg #/intern/ffmpeg ' + env['BF_FFMPEG_INC']
|
||||
defs.append('WITH_FFMPEG')
|
||||
|
||||
if env['WITH_BF_SDL']:
|
||||
sources += env.Glob('SDL/*.cpp')
|
||||
incs += ' SDL ' + env['BF_SDL_INC']
|
||||
defs.append('WITH_SDL')
|
||||
|
||||
if env['WITH_BF_OPENAL']:
|
||||
sources += env.Glob('OpenAL/*.cpp')
|
||||
incs += ' OpenAL ' + env['BF_OPENAL_INC']
|
||||
defs.append('WITH_OPENAL')
|
||||
|
||||
if env['WITH_BF_JACK']:
|
||||
sources += env.Glob('jack/*.cpp')
|
||||
incs += ' jack ' + env['BF_JACK_INC']
|
||||
defs.append('WITH_JACK')
|
||||
if env['WITH_BF_JACK_DYNLOAD']:
|
||||
defs.append('WITH_JACK_DYNLOAD')
|
||||
|
||||
if env['WITH_BF_SNDFILE']:
|
||||
sources += env.Glob('sndfile/*.cpp')
|
||||
incs += ' sndfile ' + env['BF_SNDFILE_INC']
|
||||
defs.append('WITH_SNDFILE')
|
||||
|
||||
#if env['WITH_BF_FFTW3']:
|
||||
# sources += env.Glob('fftw/*.cpp')
|
||||
# incs += ' fftw ' + env['BF_FFTW3_INC']
|
||||
# defs.append('WITH_FFTW3')
|
||||
|
||||
if env['WITH_BF_PYTHON']:
|
||||
sources += env.Glob('Python/*.cpp')
|
||||
incs += ' Python ' + env['BF_PYTHON_INC']
|
||||
defs.append('WITH_PYTHON')
|
||||
|
||||
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
|
||||
incs += ' ' + env['BF_PTHREADS_INC']
|
||||
|
||||
env.BlenderLib ('bf_intern_audaspace', sources, Split(incs), defs, libtype=['intern','player'], priority = [25,215] )
|
||||
Reference in New Issue
Block a user