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/gameengine | |
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/gameengine')
-rw-r--r-- | source/gameengine/BlenderRoutines/SConscript | 91 | ||||
-rw-r--r-- | source/gameengine/Converter/SConscript | 94 | ||||
-rw-r--r-- | source/gameengine/Expressions/SConscript | 50 | ||||
-rw-r--r-- | source/gameengine/GameLogic/SConscript | 63 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/SConscript | 29 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/common/SConscript | 81 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/ghost/SConscript | 99 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KXNetwork/SConscript | 52 | ||||
-rw-r--r-- | source/gameengine/Ketsji/SConscript | 110 | ||||
-rw-r--r-- | source/gameengine/Network/LoopBackNetwork/SConscript | 41 | ||||
-rw-r--r-- | source/gameengine/Network/SConscript | 46 | ||||
-rw-r--r-- | source/gameengine/Physics/Bullet/SConscript | 68 | ||||
-rw-r--r-- | source/gameengine/Physics/Dummy/SConscript | 45 | ||||
-rw-r--r-- | source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript | 40 | ||||
-rw-r--r-- | source/gameengine/Rasterizer/SConscript | 63 | ||||
-rw-r--r-- | source/gameengine/SConscript | 51 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SConscript | 47 | ||||
-rw-r--r-- | source/gameengine/VideoTexture/SConscript | 76 |
18 files changed, 0 insertions, 1146 deletions
diff --git a/source/gameengine/BlenderRoutines/SConscript b/source/gameengine/BlenderRoutines/SConscript deleted file mode 100644 index ea14092943a..00000000000 --- a/source/gameengine/BlenderRoutines/SConscript +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '.', - '#intern/container', - '#intern/guardedalloc', - '#intern/string', - '#source/blender', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#intern/ghost/include', - '#intern/moto/include', - '#source/blender/blenfont', - '#source/blender/blenkernel', - '#source/blender/blenlib', - '#source/blender/blenloader', - '#source/blender/gpu', - '#source/blender/imbuf', - '#source/blender/makesdna', - '#source/blender/makesrna', - '#source/blender/misc', - '#source/blender/windowmanager', - '#source/gameengine/Converter', - '#source/gameengine/Expressions', - '#source/gameengine/GameLogic', - '#source/gameengine/Ketsji', - '#source/gameengine/Network', - '#source/gameengine/Rasterizer', - '#source/gameengine/SceneGraph', - '#source/blender/editors/include', - '#source/gameengine/Network/LoopBackNetwork', - '#source/gameengine/Physics/Bullet', - '#source/gameengine/Physics/common', - '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', - ] -incs = ' '.join(incs) - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs += ' ' + env['BF_AUDASPACE_C_INC'] - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - -incs += ' ' + env['BF_BULLET_INC'] -incs += ' ' + env['BF_OPENGL_INC'] -incs += ' ' + env['BF_BOOST_INC'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -env.BlenderLib ( 'ge_blen_routines', sources, Split(incs), defs, libtype=['core','player'], priority=[300,35] , cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/Converter/SConscript b/source/gameengine/Converter/SConscript deleted file mode 100644 index 6336fcd3906..00000000000 --- a/source/gameengine/Converter/SConscript +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') -defs = [] - -incs = [ - '.', - '#extern/Eigen3', - '#intern/container', - '#intern/guardedalloc', - '#intern/string', - '#source/blender', - '#intern/moto/include', - '#source/blender/blenkernel', - '#source/blender/blenlib', - '#source/blender/blenloader', - '#source/blender/gpu', - '#source/blender/ikplugin', - '#source/blender/imbuf', - '#source/blender/makesdna', - '#source/blender/makesrna', - '#source/blender/misc', - '#source/blender/windowmanager', - '#source/gameengine/BlenderRoutines', - '#source/gameengine/Converter', - '#source/gameengine/Expressions', - '#source/gameengine/GameLogic', - '#source/gameengine/Ketsji', - '#source/gameengine/Network', - '#source/gameengine/Rasterizer', - '#source/gameengine/SceneGraph', - '#extern/recastnavigation/Detour/Include', - '#source/blender/editors/include', - '#source/gameengine/Ketsji/KXNetwork', - '#source/gameengine/Network/LoopBackNetwork', - '#source/gameengine/Physics/Bullet', - '#source/gameengine/Physics/Dummy', - '#source/gameengine/Physics/common', - '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', - ] -incs = ' '.join(incs) - -incs += ' ' + env['BF_BULLET_INC'] -incs += ' ' + env['BF_BOOST_INC'] - -if env['BF_DEBUG']: - if env['OURPLATFORM'] in ('win32-mingw', 'win32-vc', 'win64-vc', 'win64-mingw'): - defs.append('_DEBUG') - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs += ' ' + env['BF_AUDASPACE_C_INC'] - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -env.BlenderLib ( 'ge_converter', sources, Split(incs), defs, libtype=['core','player'], priority=[305,40], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/Expressions/SConscript b/source/gameengine/Expressions/SConscript deleted file mode 100644 index b66d36c2080..00000000000 --- a/source/gameengine/Expressions/SConscript +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('intern/*.cpp') - -incs = [ - '.', - '#intern/guardedalloc', - '#intern/string', - '#intern/moto/include', - '#source/gameengine/SceneGraph', - '#source/blender/blenlib', - ] - -defs = [] - -if env['WITH_BF_PYTHON']: - incs.extend(Split(env['BF_PYTHON_INC'])) - defs.append('WITH_PYTHON') - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - -env.BlenderLib('ge_logic_expressions', sources, incs, defs, libtype=['core','player'], priority = [360,80], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/GameLogic/SConscript b/source/gameengine/GameLogic/SConscript deleted file mode 100644 index 0ecd08d3495..00000000000 --- a/source/gameengine/GameLogic/SConscript +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') + env.Glob('Joystick/*.cpp') - -incs = [ - '.', - '#intern/container', - '#intern/ghost', - '#/intern/string', - '#/intern/moto/include', - '#/source/blender/blenlib', - '#/source/gameengine/Expressions', - '#/source/gameengine/Rasterizer', - '#/source/gameengine/SceneGraph', - ] -incs = ' '.join(incs) - -defs = [] - -if env['WITH_BF_SDL']: - defs.append('WITH_SDL') - incs += ' ' + env['BF_SDL_INC'] - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): - if env['BF_DEBUG']: - defs.append('_DEBUG') - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - incs += ' #/intern/guardedalloc' - -env.BlenderLib ( 'ge_logic', sources, Split(incs), defs, libtype=['core','player'], priority=[330,65], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/GamePlayer/SConscript b/source/gameengine/GamePlayer/SConscript deleted file mode 100644 index d1930aca26d..00000000000 --- a/source/gameengine/GamePlayer/SConscript +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -SConscript(['common/SConscript', - 'ghost/SConscript']) diff --git a/source/gameengine/GamePlayer/common/SConscript b/source/gameengine/GamePlayer/common/SConscript deleted file mode 100644 index dc105491c98..00000000000 --- a/source/gameengine/GamePlayer/common/SConscript +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -import sys -Import ('env') - - -source_files = [ - 'GPC_Canvas.cpp', - 'GPC_KeyboardDevice.cpp', - 'GPC_MouseDevice.cpp', - ] - -incs = [ - '.', - '#intern/string', - '#intern/ghost', - '#intern/guardedalloc', - '#intern/moto/include', - '#intern/container', - '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', - '#source/gameengine/Converter', - '#source/gameengine/BlenderRoutines', - '#source/blender/imbuf', - '#source/gameengine/Ketsji', - '#source/blender/blenlib', - '#source/blender/blenfont', - '#source/blender/blenkernel', - '#source/blender', - '#source/blender/include', - '#source/blender/makesdna', - '#source/gameengine/Rasterizer', - '#source/gameengine/GameLogic', - '#source/gameengine/Expressions', - '#source/gameengine/Network', - '#source/gameengine/SceneGraph', - '#source/gameengine/Physics/common', - '#source/gameengine/Network/LoopBackNetwork', - '#source/gameengine/GamePlayer/ghost', - '#source/blender/misc', - '#source/blender/blenloader', - '#source/blender/gpu', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_PYTHON']: - incs.extend(Split(env['BF_PYTHON_INC'])) - defs.append('WITH_PYTHON') - -incs.extend(Split(env['BF_PNG_INC'])) -incs.extend(Split(env['BF_ZLIB_INC'])) - -env.BlenderLib (libname='ge_player_common', sources=source_files, includes=incs, defines = defs, libtype=['player'], priority=[5], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/GamePlayer/ghost/SConscript b/source/gameengine/GamePlayer/ghost/SConscript deleted file mode 100644 index be9f50f40fb..00000000000 --- a/source/gameengine/GamePlayer/ghost/SConscript +++ /dev/null @@ -1,99 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -import sys -Import ('env') - -source_files = [ - 'GPG_Application.cpp', - 'GPG_Canvas.cpp', - 'GPG_ghost.cpp', - 'GPG_KeyboardDevice.cpp', - 'GPG_System.cpp', - ] - -incs = [ - '.', - '#intern/string', - '#intern/ghost', - '#intern/guardedalloc', - '#intern/memutil', - '#intern/moto/include', - '#intern/container', - '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', - '#source/gameengine/BlenderRoutines', - '#source/gameengine/Converter', - '#source/blender/imbuf', - '#source/gameengine/Ketsji', - '#source/blender/blenfont', - '#source/blender/blenlib', - '#source/blender/blenkernel', - '#source/blender/blentranslation', - '#source/blender', - '#source/blender/include', - '#source/blender/makesdna', - '#source/blender/makesrna', - '#source/gameengine/Rasterizer', - '#source/gameengine/GameLogic', - '#source/gameengine/Expressions', - '#source/gameengine/Network', - '#source/gameengine/SceneGraph', - '#source/gameengine/Physics/common', - '#source/gameengine/Network/LoopBackNetwork', - '#source/gameengine/GamePlayer/common', - '#source/blender/misc', - '#source/blender/blenloader', - '#source/blender/gpu', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - ] - -incs.append(env['BF_PTHREADS_INC']) -incs.append(env['BF_BOOST_INC']) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_PYTHON']: - incs += Split(env['BF_PYTHON_INC']) - defs.append('WITH_PYTHON') - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs.append(env['BF_AUDASPACE_C_INC']) - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_SDL'] and env['WITH_BF_SDL_DYNLOAD']: - defs.append('WITH_SDL_DYNLOAD') - incs += ['#extern/sdlew/include'] - -env.BlenderLib (libname='ge_player_ghost', sources=source_files, includes = incs, defines = defs, libtype=['player'],priority=[0], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/Ketsji/KXNetwork/SConscript b/source/gameengine/Ketsji/KXNetwork/SConscript deleted file mode 100644 index ab03e03e74d..00000000000 --- a/source/gameengine/Ketsji/KXNetwork/SConscript +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') - -incs = [ - '.', - '#intern/container', - '#intern/string', - '#intern/moto/include', - '#source/gameengine/Expressions', - '#source/gameengine/GameLogic', - '#source/gameengine/Ketsji', - '#source/gameengine/Network', - '#source/gameengine/SceneGraph', - '../../../blender/blenlib', - ] -incs = ' '.join(incs) - -defs = [] - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -env.BlenderLib ( 'bf_network', Split(sources), Split(incs), defines=defs,libtype=['core','player'], priority=[400,125], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/Ketsji/SConscript b/source/gameengine/Ketsji/SConscript deleted file mode 100644 index d8dfd3d9bca..00000000000 --- a/source/gameengine/Ketsji/SConscript +++ /dev/null @@ -1,110 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -import sys - -Import ('env') - -sources = env.Glob('*.cpp') -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '.', - '#intern/container', - '#intern/guardedalloc', - '#intern/string', - '#source/blender', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#intern/moto/include', - '#source/blender/blenfont', - '#source/blender/blenkernel', - '#source/blender/blenlib', - '#source/blender/gpu', - '#source/blender/imbuf', - '#source/blender/makesdna', - '#source/blender/makesrna', - '#source/blender/misc', - '#source/blender/python', - '#source/gameengine/BlenderRoutines', - '#source/gameengine/Converter', - '#source/gameengine/Expressions', - '#source/gameengine/GameLogic', - '#source/gameengine/Ketsji', - '#source/gameengine/Network', - '#source/gameengine/Rasterizer', - '#source/gameengine/SceneGraph', - '#extern/recastnavigation/Detour/Include', - '#extern/recastnavigation/Recast/Include', - '#source/blender/editors/include', - # Only for bpy_internal_import.h, be very careful - '#source/blender/python/generic', - # Only for mathutils, be very careful - '#source/blender/python/mathutils', - '#source/gameengine/Ketsji/KXNetwork', - '#source/gameengine/Physics/Dummy', - '#source/gameengine/Physics/common', - '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', - ] -incs = ' '.join(incs) - -incs += ' ' + env['BF_BULLET_INC'] -incs += ' ' + env['BF_OPENGL_INC'] -incs += ' ' + env['BF_BOOST_INC'] - -if env['WITH_BF_SDL']: - incs += ' ' + env['BF_SDL_INC'] - defs.append('WITH_SDL') - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs += ' ' + env['BF_AUDASPACE_C_INC'] - incs += ' ' + env['BF_AUDASPACE_PY_INC'] - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - -if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw', 'win64-mingw'): - if env['BF_DEBUG']: - defs.append('_DEBUG') # for Python - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - incs += ' #source/gameengine/Physics/Bullet' - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -env.BlenderLib ( 'ge_logic_ketsji', sources, Split(incs), defs, libtype=['core','player'], priority=[320,45], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/Network/LoopBackNetwork/SConscript b/source/gameengine/Network/LoopBackNetwork/SConscript deleted file mode 100644 index 01352fbe732..00000000000 --- a/source/gameengine/Network/LoopBackNetwork/SConscript +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = [ - 'NG_LoopBackNetworkDeviceInterface.cpp', - ] - -incs = [ - '.', - '#intern/container', - '#intern/string', - '#source/gameengine/Network', - ] - -env.BlenderLib('ge_logic_loopbacknetwork', sources, incs, defines=[], libtype=['core', 'player'], priority=[400, 135]) diff --git a/source/gameengine/Network/SConscript b/source/gameengine/Network/SConscript deleted file mode 100644 index feb14e29552..00000000000 --- a/source/gameengine/Network/SConscript +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') #'NG_NetworkMessage.cpp NG_NetworkObject.cpp NG_NetworkScene.cpp' - -incs = [ - '.', - '../../blender/blenlib', - '#intern/container', - '#intern/string', - '#intern/moto/include', - ] - -defs = [] - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - incs.append('#intern/guardedalloc') - -env.BlenderLib('ge_logic_ngnetwork', sources, incs, defs, libtype=['core', 'player'], priority=[400, 130]) diff --git a/source/gameengine/Physics/Bullet/SConscript b/source/gameengine/Physics/Bullet/SConscript deleted file mode 100644 index 5c5b1fe6ea6..00000000000 --- a/source/gameengine/Physics/Bullet/SConscript +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = 'CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp CcdGraphicController.cpp' - -incs = [ - '.', - '#intern/container', - '#intern/guardedalloc', - '#intern/string', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#intern/moto/include', - '#source/blender/blenkernel', - '#source/blender/blenlib', - '#source/blender/makesdna', - '#source/gameengine/Converter', - '#source/gameengine/Expressions', - '#source/gameengine/GameLogic', - '#source/gameengine/Ketsji', - '#source/gameengine/Rasterizer', - '#source/gameengine/SceneGraph', - '../common', - ] -incs = ' '.join(incs) - -incs += ' ' + env['BF_BULLET_INC'] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - -env.BlenderLib ( 'ge_phys_bullet', Split(sources), Split(incs), defs, libtype=['core','player'], priority=[350,50], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/Physics/Dummy/SConscript b/source/gameengine/Physics/Dummy/SConscript deleted file mode 100644 index 3715dcf6aed..00000000000 --- a/source/gameengine/Physics/Dummy/SConscript +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = 'DummyPhysicsEnvironment.cpp' - -incs = [ - '.', - '../common', - '../../../../intern/moto/include', - ] -incs = ' '.join(incs) - -defs = [] - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - incs += ' #intern/guardedalloc' - -env.BlenderLib ( 'ge_phys_dummy', Split(sources), Split(incs), defs, libtype=['core','player'], priority=[350,60] ) diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript deleted file mode 100644 index ce520df2a21..00000000000 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/python -Import ('env') - -sources = env.Glob('*.cpp') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '.', - '#intern/container', - '#intern/guardedalloc', - '#intern/string', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#intern/moto/include', - '#source/blender/blenkernel', - '#source/blender/blenfont', - '#source/blender/blenlib', - '#source/blender/gpu', - '#source/blender/makesdna', - '#source/gameengine/BlenderRoutines', - '#source/gameengine/Expressions', - '#source/gameengine/GameLogic', - '#source/gameengine/Physics/common', - '#source/gameengine/Rasterizer', - '#source/gameengine/SceneGraph', - '#source/gameengine/Ketsji', - env['BF_OPENGL_INC'], - ] -incs = ' '.join(incs) - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -env.BlenderLib ( 'ge_oglrasterizer', Split(sources), Split(incs), defines = defs, libtype=['core','player'], priority=[350,75], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript deleted file mode 100644 index a29acda545a..00000000000 --- a/source/gameengine/Rasterizer/SConscript +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') - -incs = [ - '.', - '#intern/guardedalloc', - '#intern/string', - '#intern/moto/include', - '#intern/container', - '#source/gameengine/BlenderRoutines', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#source/gameengine/Expressions', - '#source/gameengine/SceneGraph', - '#source/blender/blenlib', - '#source/blender/blenkernel', - '#source/blender/gpu', - '#source/blender/makesdna', - '#source/blender/imbuf', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_PYTHON']: - incs.extend(Split(env['BF_PYTHON_INC'])) - defs.append('WITH_PYTHON') - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - -env.BlenderLib('ge_rasterizer', sources, - includes=incs, defines=defs, - libtype=['core', 'player'], priority=[350, 70], - cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/SConscript b/source/gameengine/SConscript deleted file mode 100644 index ae1bb756f8e..00000000000 --- a/source/gameengine/SConscript +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -SConscript(['BlenderRoutines/SConscript', - 'Converter/SConscript', - 'Expressions/SConscript', #310 - 'GameLogic/SConscript', - 'Ketsji/SConscript', - 'Ketsji/KXNetwork/SConscript', - 'Network/SConscript', - 'Network/LoopBackNetwork/SConscript', - 'Physics/Dummy/SConscript', - 'Rasterizer/SConscript', - 'Rasterizer/RAS_OpenGLRasterizer/SConscript', - 'SceneGraph/SConscript', - ]) - -if env['WITH_BF_PYTHON']: - SConscript(['VideoTexture/SConscript']) - -if env['WITH_BF_PLAYER']: - SConscript(['GamePlayer/SConscript']) - -if env['WITH_BF_BULLET']: - SConscript(['Physics/Bullet/SConscript']) diff --git a/source/gameengine/SceneGraph/SConscript b/source/gameengine/SceneGraph/SConscript deleted file mode 100644 index f6e73a902a4..00000000000 --- a/source/gameengine/SceneGraph/SConscript +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') - -incs = [ - '.', - '#intern/moto/include', - ] - -defs = [] - -if env['WITH_BF_CXX_GUARDEDALLOC']: - defs.append('WITH_CXX_GUARDEDALLOC') - incs.append('#intern/guardedalloc') - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - incs.extend(Split(env['BF_PYTHON_INC'])) - -env.BlenderLib('ge_scenegraph', sources, incs, defs, libtype=['core', 'player'], priority=[325, 85], cxx_compileflags=env['BGE_CXXFLAGS']) diff --git a/source/gameengine/VideoTexture/SConscript b/source/gameengine/VideoTexture/SConscript deleted file mode 100644 index dc708904309..00000000000 --- a/source/gameengine/VideoTexture/SConscript +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env python -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# The Original Code is Copyright (C) 2006, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -import sys - -Import ('env') - -sources = env.Glob('*.cpp') - -incs = [ - '.', - '#intern/container', - '#intern/ffmpeg', - '#intern/guardedalloc', - '#intern/string', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#intern/moto/include', - '#source/blender/blenkernel', - '#source/blender/blenlib', - '#source/blender/gpu', - '#source/blender/imbuf', - '#source/blender/makesdna', - '#source/blender/python', - '#source/gameengine/BlenderRoutines', - '#source/gameengine/Expressions', - '#source/gameengine/GameLogic', - '#source/gameengine/Ketsji', - '#source/gameengine/Rasterizer', - '#source/gameengine/SceneGraph', - '#source/blender/editors/include', - '#source/blender/python/generic', - '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['OURPLATFORM'] in ('win32-vc', 'win64-vc','win32-mingw', 'win64-mingw'): - if env['BF_DEBUG']: - defs.append('_DEBUG') - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - defs.append('WITH_PYTHON') - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - incs += ' ' + env['BF_FFMPEG_INC'] + ' ' + env['BF_PTHREADS_INC'] - -env.BlenderLib ( 'ge_videotex', sources, Split(incs), defs, libtype=['core','player'], priority=[340,205], cxx_compileflags=env['BGE_CXXFLAGS']) |