From 5d99cde8229a481363f1439ea4a4c2af851b1cb1 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 4 Jan 2016 14:20:48 +0500 Subject: 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 --- source/blender/SConscript | 77 ------- source/blender/avi/SConscript | 41 ---- source/blender/blenfont/SConscript | 67 ------ source/blender/blenkernel/SConscript | 197 ----------------- source/blender/blenlib/SConscript | 56 ----- source/blender/blenloader/SConscript | 64 ------ source/blender/blentranslation/SConscript | 46 ---- source/blender/bmesh/SConscript | 59 ------ source/blender/collada/SConscript | 63 ------ source/blender/compositor/SConscript | 78 ------- source/blender/depsgraph/SConscript | 77 ------- source/blender/editors/SConscript | 68 ------ source/blender/editors/animation/SConscript | 52 ----- source/blender/editors/armature/SConscript | 57 ----- source/blender/editors/curve/SConscript | 49 ----- source/blender/editors/datafiles/SConscript | 113 ---------- source/blender/editors/gpencil/SConscript | 57 ----- source/blender/editors/interface/SConscript | 63 ------ source/blender/editors/io/SConscript | 51 ----- source/blender/editors/mask/SConscript | 51 ----- source/blender/editors/mesh/SConscript | 72 ------- source/blender/editors/metaball/SConscript | 45 ---- source/blender/editors/object/SConscript | 66 ------ source/blender/editors/physics/SConscript | 58 ----- source/blender/editors/render/SConscript | 70 ------ source/blender/editors/screen/SConscript | 59 ------ source/blender/editors/sculpt_paint/SConscript | 64 ------ source/blender/editors/sound/SConscript | 56 ----- source/blender/editors/space_action/SConscript | 50 ----- source/blender/editors/space_api/SConscript | 47 ---- source/blender/editors/space_buttons/SConscript | 59 ------ source/blender/editors/space_clip/SConscript | 58 ----- source/blender/editors/space_console/SConscript | 52 ----- source/blender/editors/space_file/SConscript | 75 ------- source/blender/editors/space_graph/SConscript | 57 ----- source/blender/editors/space_image/SConscript | 71 ------- source/blender/editors/space_info/SConscript | 57 ----- source/blender/editors/space_logic/SConscript | 58 ----- source/blender/editors/space_nla/SConscript | 53 ----- source/blender/editors/space_node/SConscript | 73 ------- source/blender/editors/space_outliner/SConscript | 53 ----- source/blender/editors/space_script/SConscript | 53 ----- source/blender/editors/space_sequencer/SConscript | 60 ------ source/blender/editors/space_text/SConscript | 58 ----- source/blender/editors/space_time/SConscript | 48 ----- source/blender/editors/space_userpref/SConscript | 47 ---- source/blender/editors/space_view3d/SConscript | 74 ------- source/blender/editors/transform/SConscript | 59 ------ source/blender/editors/util/SConscript | 57 ----- source/blender/editors/uvedit/SConscript | 54 ----- source/blender/freestyle/SConscript | 95 --------- source/blender/gpu/SConscript | 93 -------- source/blender/ikplugin/SConscript | 49 ----- source/blender/imbuf/SConscript | 100 --------- source/blender/imbuf/intern/cineon/SConscript | 46 ---- source/blender/imbuf/intern/dds/SConscript | 47 ---- source/blender/imbuf/intern/oiio/SConscript | 49 ----- source/blender/imbuf/intern/openexr/SConscript | 49 ----- source/blender/imbuf/readme.txt | 4 +- source/blender/makesdna/SConscript | 45 ---- source/blender/makesdna/intern/SConscript | 94 -------- source/blender/makesrna/SConscript | 165 --------------- source/blender/makesrna/intern/SConscript | 247 ---------------------- source/blender/modifiers/SConscript | 88 -------- source/blender/nodes/SConscript | 85 -------- source/blender/physics/SConscript | 44 ---- source/blender/python/SConscript | 210 ------------------ source/blender/quicktime/SConscript | 63 ------ source/blender/render/SConscript | 125 ----------- source/blender/windowmanager/SConscript | 97 --------- 70 files changed, 1 insertion(+), 4943 deletions(-) delete mode 100644 source/blender/SConscript delete mode 100644 source/blender/avi/SConscript delete mode 100644 source/blender/blenfont/SConscript delete mode 100644 source/blender/blenkernel/SConscript delete mode 100644 source/blender/blenlib/SConscript delete mode 100644 source/blender/blenloader/SConscript delete mode 100644 source/blender/blentranslation/SConscript delete mode 100644 source/blender/bmesh/SConscript delete mode 100644 source/blender/collada/SConscript delete mode 100644 source/blender/compositor/SConscript delete mode 100644 source/blender/depsgraph/SConscript delete mode 100644 source/blender/editors/SConscript delete mode 100644 source/blender/editors/animation/SConscript delete mode 100644 source/blender/editors/armature/SConscript delete mode 100644 source/blender/editors/curve/SConscript delete mode 100644 source/blender/editors/datafiles/SConscript delete mode 100644 source/blender/editors/gpencil/SConscript delete mode 100644 source/blender/editors/interface/SConscript delete mode 100644 source/blender/editors/io/SConscript delete mode 100644 source/blender/editors/mask/SConscript delete mode 100644 source/blender/editors/mesh/SConscript delete mode 100644 source/blender/editors/metaball/SConscript delete mode 100644 source/blender/editors/object/SConscript delete mode 100644 source/blender/editors/physics/SConscript delete mode 100644 source/blender/editors/render/SConscript delete mode 100644 source/blender/editors/screen/SConscript delete mode 100644 source/blender/editors/sculpt_paint/SConscript delete mode 100644 source/blender/editors/sound/SConscript delete mode 100644 source/blender/editors/space_action/SConscript delete mode 100644 source/blender/editors/space_api/SConscript delete mode 100644 source/blender/editors/space_buttons/SConscript delete mode 100644 source/blender/editors/space_clip/SConscript delete mode 100644 source/blender/editors/space_console/SConscript delete mode 100644 source/blender/editors/space_file/SConscript delete mode 100644 source/blender/editors/space_graph/SConscript delete mode 100644 source/blender/editors/space_image/SConscript delete mode 100644 source/blender/editors/space_info/SConscript delete mode 100644 source/blender/editors/space_logic/SConscript delete mode 100644 source/blender/editors/space_nla/SConscript delete mode 100644 source/blender/editors/space_node/SConscript delete mode 100644 source/blender/editors/space_outliner/SConscript delete mode 100644 source/blender/editors/space_script/SConscript delete mode 100644 source/blender/editors/space_sequencer/SConscript delete mode 100644 source/blender/editors/space_text/SConscript delete mode 100644 source/blender/editors/space_time/SConscript delete mode 100644 source/blender/editors/space_userpref/SConscript delete mode 100644 source/blender/editors/space_view3d/SConscript delete mode 100644 source/blender/editors/transform/SConscript delete mode 100644 source/blender/editors/util/SConscript delete mode 100644 source/blender/editors/uvedit/SConscript delete mode 100644 source/blender/freestyle/SConscript delete mode 100644 source/blender/gpu/SConscript delete mode 100644 source/blender/ikplugin/SConscript delete mode 100644 source/blender/imbuf/SConscript delete mode 100644 source/blender/imbuf/intern/cineon/SConscript delete mode 100644 source/blender/imbuf/intern/dds/SConscript delete mode 100644 source/blender/imbuf/intern/oiio/SConscript delete mode 100644 source/blender/imbuf/intern/openexr/SConscript delete mode 100644 source/blender/makesdna/SConscript delete mode 100644 source/blender/makesdna/intern/SConscript delete mode 100644 source/blender/makesrna/SConscript delete mode 100644 source/blender/makesrna/intern/SConscript delete mode 100644 source/blender/modifiers/SConscript delete mode 100644 source/blender/nodes/SConscript delete mode 100644 source/blender/physics/SConscript delete mode 100644 source/blender/python/SConscript delete mode 100644 source/blender/quicktime/SConscript delete mode 100644 source/blender/render/SConscript delete mode 100644 source/blender/windowmanager/SConscript (limited to 'source/blender') diff --git a/source/blender/SConscript b/source/blender/SConscript deleted file mode 100644 index c6f4994bb4f..00000000000 --- a/source/blender/SConscript +++ /dev/null @@ -1,77 +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') -import sys - -SConscript(['avi/SConscript', - 'bmesh/SConscript', - 'blenkernel/SConscript', - 'blenlib/SConscript', - 'blenloader/SConscript', - 'blentranslation/SConscript', - 'depsgraph/SConscript', - 'gpu/SConscript', - 'editors/SConscript', - 'imbuf/SConscript', - 'makesdna/SConscript', - 'render/SConscript', - 'nodes/SConscript', - 'modifiers/SConscript', - 'ikplugin/SConscript', - 'physics/SConscript', - 'windowmanager/SConscript', - 'blenfont/SConscript']) - -makesrna = SConscript('makesrna/SConscript') - -if env['WITH_BF_PYTHON']: - SConscript(['python/SConscript']) - -if env['WITH_BF_OIIO']: - SConscript (['imbuf/intern/oiio/SConscript']) - -if env['WITH_BF_DDS']: - SConscript (['imbuf/intern/dds/SConscript']) - -if env['WITH_BF_CINEON']: - SConscript (['imbuf/intern/cineon/SConscript']) - -if env['WITH_BF_OPENEXR']: - SConscript (['imbuf/intern/openexr/SConscript']) - -if env['WITH_BF_QUICKTIME']: - SConscript (['quicktime/SConscript']) - -if env['WITH_BF_COLLADA']: - SConscript (['collada/SConscript']) - -if env['WITH_BF_COMPOSITOR']: - SConscript (['compositor/SConscript']) - -if env['WITH_BF_FREESTYLE']: - SConscript (['freestyle/SConscript']) diff --git a/source/blender/avi/SConscript b/source/blender/avi/SConscript deleted file mode 100644 index 6caeada0e05..00000000000 --- a/source/blender/avi/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 = env.Glob('intern/*.c') - -incs = [ - '.', - '#/intern/guardedalloc', - '../blenlib', - env['BF_JPEG_INC'], - ] - -defs = [] - -env.BlenderLib ('bf_avi', sources, incs, defs, libtype=['core','player'], priority = [190,120] ) diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript deleted file mode 100644 index 6c3b5748011..00000000000 --- a/source/blender/blenfont/SConscript +++ /dev/null @@ -1,67 +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('intern/*.c') - -incs = [ - '.', - 'intern', - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../editors/include', - '../gpu', - '../imbuf', - '../makesdna', - '../makesrna', - ] - -incs.extend(Split(env['BF_FREETYPE_INC'])) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross': - defs.append('_WIN32') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - incs.append('../python') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - -env.BlenderLib('bf_blenfont', sources, incs, defines=defs, libtype=['core', 'player'], priority=[210, 210]) diff --git a/source/blender/blenkernel/SConscript b/source/blender/blenkernel/SConscript deleted file mode 100644 index edb2852d9ac..00000000000 --- a/source/blender/blenkernel/SConscript +++ /dev/null @@ -1,197 +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') -import os - -sources = env.Glob('intern/*.c') -sources.remove('intern' + os.sep + 'mask_rasterize.c') -sources.remove('intern' + os.sep + 'mask_evaluate.c') -sources.remove('intern' + os.sep + 'mask.c') - -sources_mask = env.Glob('intern/mask*.c') - -incs = [ - '.', - '#/extern/libmv', - '#/intern/ffmpeg', - '#/intern/guardedalloc', - '#/intern/memutil', - '#/intern/mikktspace', - '#/intern/raskter', - '#/intern/rigidbody', - '#/extern/bullet2/src', - env['BF_GLEW_INC'], - '#/intern/ghost', - '#/intern/glew-mx', - '#/intern/elbeem/extern', - '#/intern/iksolver/extern', - '#/intern/smoke/extern', - '#/intern/atomic', - '../avi', - '../blenfont', - '../blenlib', - '../blenloader', - '../blentranslation', - '../bmesh', - '../depsgraph', - '../gpu', - '../ikplugin', - '../imbuf', - '../makesdna', - '../makesrna', - '../modifiers', - '../nodes', - '../physics', - '../render/extern/include', - '../windowmanager', - env['BF_ZLIB_INC'], - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_SMOKE']: - defs.append('WITH_SMOKE') - -if env['WITH_BF_FRAMESERVER']: - defs.append('WITH_FRAMESERVER') - -if env['WITH_BF_PYTHON']: - incs += ' ../python' - defs.append('WITH_PYTHON') - if env['BF_DEBUG']: - defs.append('DEBUG') - -''' -if env['WITH_BF_ELTOPO']: - incs += ' #/extern/eltopo' - incs += ' #/extern/eltopo/eltopo3d' - defs.append('WITH_ELTOPO') -''' -if env['WITH_BF_QUICKTIME']: - incs += ' ../quicktime' - -if env['WITH_BF_SDL']: - incs += ' ' + env['BF_SDL_INC'] - defs.append('WITH_SDL') - -if env['WITH_BF_OIIO']: - defs.append('WITH_OPENIMAGEIO') - -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') - -if env['WITH_BF_TIFF']: - defs.append('WITH_TIFF') - -if env['WITH_BF_OPENJPEG']: - defs.append('WITH_OPENJPEG') - -if env['WITH_BF_DDS']: - defs.append('WITH_DDS') - -if env['WITH_BF_CINEON']: - defs.append('WITH_CINEON') - -if env['WITH_BF_HDR']: - defs.append('WITH_HDR') - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs += ' ' + env['BF_AUDASPACE_C_INC'] - -if env['WITH_BF_JACK']: - defs.append('WITH_JACK') - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - incs += ' ' + env['BF_FFMPEG_INC'] - -if env['WITH_BF_QUICKTIME']: - defs.append('WITH_QUICKTIME') - incs += ' ' + env['BF_QUICKTIME_INC'] - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - -if env['WITH_BF_FLUID']: - defs.append('WITH_MOD_FLUID') - -if env['WITH_BF_OCEANSIM']: - defs.append('WITH_OCEANSIM') - -if env['WITH_BF_LZO']: - incs += ' #/extern/lzo/minilzo' - defs.append('WITH_LZO') - -if env['WITH_BF_LZMA']: - incs += ' #/extern/lzma' - defs.append('WITH_LZMA') - -if env['WITH_BF_GAMEENGINE']: - incs += ' #/extern/recastnavigation' - defs.append('WITH_GAMEENGINE') -else: - sources.remove('intern' + os.sep + 'navmesh_conversion.c') - -if env['WITH_BF_LIBMV']: - defs.append('WITH_LIBMV') - -if env['WITH_BF_FFTW3']: - defs.append('FFTW3=1') - incs += ' ' + env['BF_FFTW3_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -if env['WITH_BF_OPENSUBDIV']: - defs.append('WITH_OPENSUBDIV') - incs += ' #intern/opensubdiv' - incs += ' ' + env['BF_OPENSUBDIV_INC'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - incs += ' ../../../intern/utfconv' - -if env['WITH_BF_BINRELOC']: - incs += ' #extern/binreloc/include' - defs.append('WITH_BINRELOC') - -if env['WITH_BF_LEGACY_DEPSGRAPH']: - defs.append('WITH_LEGACY_DEPSGRAPH') - -if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): - env.BlenderLib ( libname = 'bf_blenkernel', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [166,25]) #, cc_compileflags = env['CCFLAGS'].append('/WX') ) -else: - env.BlenderLib ( libname = 'bf_blenkernel', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player', 'player2'], priority = [166,25,0] ) - -env.BlenderLib ( libname = 'bf_blenkernel_mask', sources = sources_mask, includes = Split(incs), defines = defs, libtype=['core','player', 'player2'], priority = [200,25,0] ) diff --git a/source/blender/blenlib/SConscript b/source/blender/blenlib/SConscript deleted file mode 100644 index 5f92741fde2..00000000000 --- a/source/blender/blenlib/SConscript +++ /dev/null @@ -1,56 +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/*.c') - -cflags='' -# don't add ../blenkernel back! -incs = [ - '.', - '#/extern/wcwidth', - '#/intern/guardedalloc', - '#/intern/atomic', - '#/intern/eigen', - '../makesdna', - env['BF_FREETYPE_INC'], - env['BF_ZLIB_INC'], - ] -incs = ' '.join(incs) - -defs = [] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - incs += ' ../../../intern/utfconv' - -if env['OURPLATFORM'] == 'linuxcross': - if env['WITH_BF_OPENMP']: - incs += ' ' + env['BF_OPENMP_INC'] - -env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [370,230], compileflags =cflags ) diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript deleted file mode 100644 index 7f2a1e0723c..00000000000 --- a/source/blender/blenloader/SConscript +++ /dev/null @@ -1,64 +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/*.c') - -incs = [ - '.', - '#/intern/guardedalloc', - '../blenfont', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../imbuf', - '../makesdna', - '../makesrna', - '../nodes', - '../render/extern/include', - env['BF_ZLIB_INC'], - ] - -defs = [] - -if env['BF_BUILDINFO']: - defs.append('WITH_BUILDINFO') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - -if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): - env.BlenderLib('bf_blenloader', sources, incs, defs, libtype=['core', 'player'], priority = [167, 30]) #, cc_compileflags=['/WX']) -else: - env.BlenderLib('bf_blenloader', sources, incs, defs, libtype=['core', 'player', 'player2'], priority=[167, 30, 5]) diff --git a/source/blender/blentranslation/SConscript b/source/blender/blentranslation/SConscript deleted file mode 100644 index c7e9853618c..00000000000 --- a/source/blender/blentranslation/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. -# -# ***** END GPL LICENSE BLOCK ***** - -import sys -Import ('env') - -sources = env.Glob('intern/*.c') - -incs = [ - '.', - '#/intern/guardedalloc', - '#/intern/locale', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../makesdna', - '../makesrna', - ] - -defs = [] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - incs.append('../python') - -env.BlenderLib('bf_blentranslation', sources, incs, defines=defs, libtype=['core', 'player'], priority=[211, 211]) diff --git a/source/blender/bmesh/SConscript b/source/blender/bmesh/SConscript deleted file mode 100644 index 6bf4fdf7c78..00000000000 --- a/source/blender/bmesh/SConscript +++ /dev/null @@ -1,59 +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') - -cflags='' - -sources = env.Glob('intern/*.c') -sources += env.Glob('operators/*.c') -sources += env.Glob('tools/*.c') - -incs = [ - './', - '../blenlib', - '../blentranslation', - '../makesdna', - '../blenkernel', - '#/intern/guardedalloc', - '#/intern/eigen', - '#/extern/bullet2/src', - '#/extern/rangetree', - ] - -defs = [] - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -env.BlenderLib ( libname = 'bf_bmesh', sources = sources, includes = Split(incs), libtype = ['core','player'], defines=defs, priority=[100, 100], compileflags=cflags ) diff --git a/source/blender/collada/SConscript b/source/blender/collada/SConscript deleted file mode 100644 index 7853769a0f8..00000000000 --- a/source/blender/collada/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): Arystanbek Dyussenov, Nathan Letwory. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -sources = env.Glob('*.cpp') -defs = [] - -# TODO sanitize inc path building -# relative paths to include dirs, space-separated, string -incs = [ - '../ikplugin', - '#/intern/iksolver/extern', - '../blenlib', - '../blenkernel', - '../blentranslation', - '../windowmanager', - '../makesdna', - '../makesrna', - '../editors/include', - '../imbuf', - '../bmesh', - '#/intern/guardedalloc', -] -incs += [ - env['BF_OPENCOLLADA_INC'] + '/COLLADAStreamWriter', - env['BF_OPENCOLLADA_INC'] + '/COLLADABaseUtils', - env['BF_OPENCOLLADA_INC'] + '/COLLADAFramework', - env['BF_OPENCOLLADA_INC'] + '/COLLADASaxFrameworkLoader', - env['BF_OPENCOLLADA_INC'] + '/GeneratedSaxParser', -] - -if env['BF_BUILDINFO']: - defs.append('WITH_BUILDINFO') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ('bf_collada', sources, incs, defs, libtype='core', priority=200 ) diff --git a/source/blender/compositor/SConscript b/source/blender/compositor/SConscript deleted file mode 100644 index ee91c47a531..00000000000 --- a/source/blender/compositor/SConscript +++ /dev/null @@ -1,78 +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) 2011, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Jeroen Bakker, Monique Dewanchand, Blender Developers Fund. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') -defs = ['GLEW_STATIC', 'CL_USE_DEPRECATED_OPENCL_1_1_APIS'] - -sources_intern = env.Glob('intern/*.cpp') -sources_nodes = env.Glob('nodes/*.cpp') -sources_operations = env.Glob('operations/*.cpp') - -incs = [ - '.', - 'intern', - 'nodes', - 'operations', - '#/extern/clew/include', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../imbuf', - '../makesdna', - '../makesrna', - '../nodes', - '../nodes/composite', - '../nodes/intern', - '../render/extern/include', - '../render/intern/include', - '../windowmanager', - '../../../intern/guardedalloc', - '../../../intern/atomic', - - # data files - env['DATA_HEADERS'], - ] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): - incs.append(env['BF_PTHREADS_INC']) - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_CYCLES'] and env['WITH_BF_CYCLES_DEBUG']: - defs.append('WITH_CYCLES_DEBUG') - -if False: # gives link errors 'win' in env['OURPLATFORM']: - # split into 3 modules to work around command length limit on Windows - env.BlenderLib('bf_composite_intern', sources_intern, incs, defines=defs, libtype=['core'], priority=[166]) - 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=[164]) -else: - sources = sources_intern + sources_nodes + sources_operations - env.BlenderLib('bf_composite', sources, incs, defines=defs, libtype=['core'], priority=[164]) - - diff --git a/source/blender/depsgraph/SConscript b/source/blender/depsgraph/SConscript deleted file mode 100644 index 7f49e8f4643..00000000000 --- a/source/blender/depsgraph/SConscript +++ /dev/null @@ -1,77 +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) 2013, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Nathan Letwory, Joshua Leung. -# -# ***** END GPL LICENSE BLOCK ***** - -Import('env') - -sources = env.Glob('intern/*.cc') + env.Glob('util/*.cc') - -incs = [ - '.', - './intern', - './util', - '#/intern/atomic', - '#/intern/guardedalloc', - '../bmesh', - '../blenlib', - '../blenkernel', - '../makesdna', - '../makesrna', - '../modifiers', - '../windowmanager', - ] - -defs = [] - -if env['WITH_BF_BOOST']: - incs.append(env['BF_BOOST_INC']) - defs.append('HAVE_BOOST_FUNCTION_BINDINGS') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - - -if env['WITH_UNORDERED_MAP_SUPPORT']: - if env['UNORDERED_MAP_HEADER'] == 'unordered_map': - if env['UNORDERED_MAP_NAMESPACE'] == 'std': - defs.append('DEG_STD_UNORDERED_MAP') - elif env['UNORDERED_MAP_NAMESPACE'] == 'std::tr1': - defs.append('DEG_STD_UNORDERED_MAP_IN_TR1_NAMESPACE') - elif env['UNORDERED_MAP_NAMESPACE'] == 'std::tr1': - defs.append('DEG_TR1_UNORDERED_MAP') -else: - print("-- Replacing unordered_map/set with map/set (warning: slower!)") - defs.append('DEG_NO_UNORDERED_MAP') - -if env['WITH_BF_LEGACY_DEPSGRAPH']: - defs.append('WITH_LEGACY_DEPSGRAPH') - -if env['WITH_BF_OPENSUBDIV']: - defs.append('WITH_OPENSUBDIV') - -env.BlenderLib(libname='bf_depsgraph', sources=sources, - includes=incs, defines=defs, - libtype=['core', 'player'], priority=[200, 40]) diff --git a/source/blender/editors/SConscript b/source/blender/editors/SConscript deleted file mode 100644 index 1ea2bc0e4ef..00000000000 --- a/source/blender/editors/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') - - -SConscript(['datafiles/SConscript', - 'space_api/SConscript', - 'util/SConscript', - 'interface/SConscript', - 'io/SConscript', - 'animation/SConscript', - 'armature/SConscript', - 'mask/SConscript', - 'mesh/SConscript', - 'metaball/SConscript', - 'object/SConscript', - 'curve/SConscript', - 'gpencil/SConscript', - 'physics/SConscript', - 'render/SConscript', - 'sound/SConscript', - 'space_buttons/SConscript', - 'space_clip/SConscript', - 'space_file/SConscript', - 'space_image/SConscript', - 'space_info/SConscript', - 'space_graph/SConscript', - 'space_node/SConscript', - 'space_outliner/SConscript', - 'space_time/SConscript', - 'space_view3d/SConscript', - 'space_action/SConscript', - 'space_nla/SConscript', - 'space_script/SConscript', - 'space_text/SConscript', - 'space_sequencer/SConscript', - 'space_logic/SConscript', - 'space_console/SConscript', - 'space_userpref/SConscript', - 'transform/SConscript', - 'screen/SConscript', - 'sculpt_paint/SConscript', - 'uvedit/SConscript']) diff --git a/source/blender/editors/animation/SConscript b/source/blender/editors/animation/SConscript deleted file mode 100644 index fb5ff53cf16..00000000000 --- a/source/blender/editors/animation/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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib('bf_editors_animation', sources, incs, defs, libtype=['core'], priority=[125]) diff --git a/source/blender/editors/armature/SConscript b/source/blender/editors/armature/SConscript deleted file mode 100644 index 850834d2cd4..00000000000 --- a/source/blender/editors/armature/SConscript +++ /dev/null @@ -1,57 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - '#/intern/eigen', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_armature', sources, Split(incs), defs, libtype=['core'], priority=[44] ) diff --git a/source/blender/editors/curve/SConscript b/source/blender/editors/curve/SConscript deleted file mode 100644 index eadec4f65b6..00000000000 --- a/source/blender/editors/curve/SConscript +++ /dev/null @@ -1,49 +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('*.c') - -defs = [] - -incs = [ - '#/intern/guardedalloc', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib('bf_editors_curve', sources, incs, defs, libtype=['core'], priority=[45]) diff --git a/source/blender/editors/datafiles/SConscript b/source/blender/editors/datafiles/SConscript deleted file mode 100644 index 6bc8f21e384..00000000000 --- a/source/blender/editors/datafiles/SConscript +++ /dev/null @@ -1,113 +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') - -# all source generated now -# sources = env.Glob('*.c') -sources = [] -incs = [] -defs = [] - -# generated data files -import os -sources.extend(( - os.path.join(env['DATA_SOURCES'], "bfont.pfb.c"), - os.path.join(env['DATA_SOURCES'], "bfont.ttf.c"), - os.path.join(env['DATA_SOURCES'], "bmonofont.ttf.c"), - - os.path.join(env['DATA_SOURCES'], "splash.png.c"), - os.path.join(env['DATA_SOURCES'], "splash_2x.png.c"), - os.path.join(env['DATA_SOURCES'], "blender_icons16.png.c"), - os.path.join(env['DATA_SOURCES'], "blender_icons32.png.c"), - os.path.join(env['DATA_SOURCES'], "prvicons.png.c"), - - os.path.join(env['DATA_SOURCES'], "startup.blend.c"), - os.path.join(env['DATA_SOURCES'], "preview.blend.c"), - os.path.join(env['DATA_SOURCES'], "preview_cycles.blend.c"), - - os.path.join(env['DATA_SOURCES'], "add.png.c"), - os.path.join(env['DATA_SOURCES'], "blob.png.c"), - os.path.join(env['DATA_SOURCES'], "blur.png.c"), - os.path.join(env['DATA_SOURCES'], "clay.png.c"), - os.path.join(env['DATA_SOURCES'], "claystrips.png.c"), - os.path.join(env['DATA_SOURCES'], "clone.png.c"), - os.path.join(env['DATA_SOURCES'], "crease.png.c"), - os.path.join(env['DATA_SOURCES'], "darken.png.c"), - os.path.join(env['DATA_SOURCES'], "draw.png.c"), - os.path.join(env['DATA_SOURCES'], "fill.png.c"), - os.path.join(env['DATA_SOURCES'], "flatten.png.c"), - os.path.join(env['DATA_SOURCES'], "grab.png.c"), - os.path.join(env['DATA_SOURCES'], "inflate.png.c"), - os.path.join(env['DATA_SOURCES'], "layer.png.c"), - os.path.join(env['DATA_SOURCES'], "lighten.png.c"), - os.path.join(env['DATA_SOURCES'], "mask.png.c"), - os.path.join(env['DATA_SOURCES'], "mix.png.c"), - os.path.join(env['DATA_SOURCES'], "multiply.png.c"), - os.path.join(env['DATA_SOURCES'], "nudge.png.c"), - os.path.join(env['DATA_SOURCES'], "pinch.png.c"), - os.path.join(env['DATA_SOURCES'], "scrape.png.c"), - os.path.join(env['DATA_SOURCES'], "smear.png.c"), - os.path.join(env['DATA_SOURCES'], "smooth.png.c"), - os.path.join(env['DATA_SOURCES'], "snake_hook.png.c"), - os.path.join(env['DATA_SOURCES'], "soften.png.c"), - os.path.join(env['DATA_SOURCES'], "subtract.png.c"), - os.path.join(env['DATA_SOURCES'], "texdraw.png.c"), - os.path.join(env['DATA_SOURCES'], "texfill.png.c"), - os.path.join(env['DATA_SOURCES'], "texmask.png.c"), - os.path.join(env['DATA_SOURCES'], "thumb.png.c"), - os.path.join(env['DATA_SOURCES'], "twist.png.c"), - os.path.join(env['DATA_SOURCES'], "vertexdraw.png.c"), - - os.path.join(env['DATA_SOURCES'], "mc01.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc02.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc03.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc04.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc05.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc06.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc07.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc08.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc09.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc10.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc11.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc12.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc13.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc14.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc15.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc16.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc17.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc18.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc19.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc20.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc21.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc22.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc23.jpg.c"), - os.path.join(env['DATA_SOURCES'], "mc24.jpg.c"), - - )) - -env.BlenderLib ( 'bf_editor_datafiles', sources, incs, defs, libtype=['core', 'player'], priority=[235, 30] ) diff --git a/source/blender/editors/gpencil/SConscript b/source/blender/editors/gpencil/SConscript deleted file mode 100644 index 3830a164b7b..00000000000 --- a/source/blender/editors/gpencil/SConscript +++ /dev/null @@ -1,57 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#/intern/elbeem/extern', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib('bf_editors_gpencil', sources, incs, defs, libtype=['core'], priority=[45]) diff --git a/source/blender/editors/interface/SConscript b/source/blender/editors/interface/SConscript deleted file mode 100644 index ea6f35c54e6..00000000000 --- a/source/blender/editors/interface/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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - # python button eval - '../../python', - '../../windowmanager', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc', 'win64-mingw'): - if env['WITH_BF_IME']: - defs.append('WITH_INPUT_IME') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - -env.BlenderLib('bf_editors_interface', sources, incs, defs, libtype=['core'], priority=[110]) diff --git a/source/blender/editors/io/SConscript b/source/blender/editors/io/SConscript deleted file mode 100644 index 2b1a638b891..00000000000 --- a/source/blender/editors/io/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') - -sources = env.Glob('*.c') - -defs = [] - -incs = [ - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../collada', - '../../makesrna', - '../../windowmanager', - '../../bmesh../../makesdna', - ] - -if env['WITH_BF_COLLADA']: - defs += ['WITH_COLLADA'] - -if env['WITH_BF_INTERNATIONAL']: - defs += ['WITH_INTERNATIONAL'] - -env.BlenderLib ( 'bf_editor_io', sources, incs, defines=defs, libtype=['core','player'], priority=[330,210] ) diff --git a/source/blender/editors/mask/SConscript b/source/blender/editors/mask/SConscript deleted file mode 100644 index c4e6daaf5df..00000000000 --- a/source/blender/editors/mask/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') - -sources = env.Glob('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - -env.BlenderLib('bf_editors_mask', sources, incs, defs, libtype=['core'], priority=[100]) diff --git a/source/blender/editors/mesh/SConscript b/source/blender/editors/mesh/SConscript deleted file mode 100644 index df58b2a90b3..00000000000 --- a/source/blender/editors/mesh/SConscript +++ /dev/null @@ -1,72 +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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../uvedit', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_GAMEENGINE']: - incs += ' #/extern/recastnavigation' - defs.append('WITH_GAMEENGINE') -else: - sources.remove('mesh_navmesh.c') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - -env.BlenderLib ( 'bf_editors_mesh', sources, Split(incs), defs, libtype=['core'], priority=[45] ) diff --git a/source/blender/editors/metaball/SConscript b/source/blender/editors/metaball/SConscript deleted file mode 100644 index d31a10afe90..00000000000 --- a/source/blender/editors/metaball/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 = env.Glob('*.c') - -incs = [ - '#/intern/guardedalloc', - '../include', - '../../blenkernel', - '../../blenlib', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] - -defs = [] - -env.BlenderLib ( 'bf_editors_metaball', sources, incs, defs, libtype=['core'], priority=[45] ) diff --git a/source/blender/editors/object/SConscript b/source/blender/editors/object/SConscript deleted file mode 100644 index 914ffa3061c..00000000000 --- a/source/blender/editors/object/SConscript +++ /dev/null @@ -1,66 +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('*.c') - -incs = [ - '#/extern/recastnavigation', - '#/intern/guardedalloc', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../ikplugin', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../python', - # for object_bake.c - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] ) diff --git a/source/blender/editors/physics/SConscript b/source/blender/editors/physics/SConscript deleted file mode 100644 index be399a58732..00000000000 --- a/source/blender/editors/physics/SConscript +++ /dev/null @@ -1,58 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#/intern/rigidbody', - '#/intern/elbeem/extern', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_physics', sources, Split(incs), defs, libtype=['core'], priority=[45] ) diff --git a/source/blender/editors/render/SConscript b/source/blender/editors/render/SConscript deleted file mode 100644 index 24270ca2324..00000000000 --- a/source/blender/editors/render/SConscript +++ /dev/null @@ -1,70 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#/intern/elbeem/extern', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blenloader', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_FREESTYLE']: - incs += ' ../../freestyle' - env.Append(CFLAGS=['-DWITH_FREESTYLE']) - -if env['WITH_BF_QUICKTIME']: - incs += ' ../../quicktime' - env.Append(CFLAGS=['-DWITH_QUICKTIME']) - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib('bf_editors_render', sources, Split(incs), defs, libtype=['core'], priority=[45]) diff --git a/source/blender/editors/screen/SConscript b/source/blender/editors/screen/SConscript deleted file mode 100644 index 5f48894c3e7..00000000000 --- a/source/blender/editors/screen/SConscript +++ /dev/null @@ -1,59 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_screen', sources, Split(incs), Split(defs), libtype=['core'], priority=[105] ) diff --git a/source/blender/editors/sculpt_paint/SConscript b/source/blender/editors/sculpt_paint/SConscript deleted file mode 100644 index 52fab472189..00000000000 --- a/source/blender/editors/sculpt_paint/SConscript +++ /dev/null @@ -1,64 +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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../uvedit', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -if env['OURPLATFORM'] == 'linuxcross': - if env['WITH_BF_OPENMP']: - incs += ' ' + env['BF_OPENMP_INC'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_sculpt_paint', sources, Split(incs), defines=defs, libtype=['core'], priority=[40] ) diff --git a/source/blender/editors/sound/SConscript b/source/blender/editors/sound/SConscript deleted file mode 100644 index fad52c64df1..00000000000 --- a/source/blender/editors/sound/SConscript +++ /dev/null @@ -1,56 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - '../include', - '../../blenkernel', - '../../blenlib', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] - -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_SNDFILE']: - defs.append('WITH_SNDFILE') - -env.BlenderLib ( 'bf_editors_sound', sources, Split(incs), defs, libtype=['core'], priority=[35] ) diff --git a/source/blender/editors/space_action/SConscript b/source/blender/editors/space_action/SConscript deleted file mode 100644 index 346324e129d..00000000000 --- a/source/blender/editors/space_action/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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -env.BlenderLib ( 'bf_editors_space_action', sources, Split(incs), defs, libtype=['core'], priority=[40] ) diff --git a/source/blender/editors/space_api/SConscript b/source/blender/editors/space_api/SConscript deleted file mode 100644 index 2ba918ffc84..00000000000 --- a/source/blender/editors/space_api/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('*.c') - -incs = [ - '#/intern/guardedalloc', - '#/extern/glew/include', - '../include', - '../io', - '../../blenkernel', - '../../blenlib', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = '' - -env.BlenderLib ( 'bf_editors_space_api', sources, Split(incs), Split(defs), libtype=['core'], priority=[30] ) diff --git a/source/blender/editors/space_buttons/SConscript b/source/blender/editors/space_buttons/SConscript deleted file mode 100644 index c39df449647..00000000000 --- a/source/blender/editors/space_buttons/SConscript +++ /dev/null @@ -1,59 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -env.BlenderLib ( 'bf_editors_space_buttons', sources, Split(incs), defs, libtype=['core'], priority=[120] ) diff --git a/source/blender/editors/space_clip/SConscript b/source/blender/editors/space_clip/SConscript deleted file mode 100644 index 37b83946e93..00000000000 --- a/source/blender/editors/space_clip/SConscript +++ /dev/null @@ -1,58 +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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -env.BlenderLib ( 'bf_editors_space_clip', sources, Split(incs), defs, libtype=['core'], priority=[95] ) diff --git a/source/blender/editors/space_console/SConscript b/source/blender/editors/space_console/SConscript deleted file mode 100644 index f189cd3920a..00000000000 --- a/source/blender/editors/space_console/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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '../include', - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../../makesdna', - '../../makesrna', - '../../blenkernel', - '../../blenlib', - '../../gpu', - '../../windowmanager', - '../../blenfont', - ] - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - -env.BlenderLib ( 'bf_editors_space_console', sources, incs, defs, libtype=['core'], priority=[95] ) diff --git a/source/blender/editors/space_file/SConscript b/source/blender/editors/space_file/SConscript deleted file mode 100644 index a66a14a32de..00000000000 --- a/source/blender/editors/space_file/SConscript +++ /dev/null @@ -1,75 +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('*.c') -incs = [ - '#/intern/atomic', - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blenloader', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_OPENJPEG']: - defs.append('WITH_OPENJPEG') - -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') - -if env['WITH_BF_TIFF']: - defs.append('WITH_TIFF') - -if env['WITH_BF_OIIO']: - defs.append('WITH_OPENIMAGEIO') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -env.BlenderLib ( 'bf_editors_space_file', sources, Split(incs), defs, libtype=['core'], priority=[115] ) diff --git a/source/blender/editors/space_graph/SConscript b/source/blender/editors/space_graph/SConscript deleted file mode 100644 index af17853556e..00000000000 --- a/source/blender/editors/space_graph/SConscript +++ /dev/null @@ -1,57 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs.append(env['BF_AUDASPACE_C_INC']) - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib('bf_editors_space_graph', sources, incs, defs, libtype=['core'], priority=[50]) diff --git a/source/blender/editors/space_image/SConscript b/source/blender/editors/space_image/SConscript deleted file mode 100644 index 95d23d177e7..00000000000 --- a/source/blender/editors/space_image/SConscript +++ /dev/null @@ -1,71 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - '../../gpu', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') -if env['WITH_BF_OPENJPEG']: - defs.append('WITH_OPENJPEG') -if env['WITH_BF_TIFF']: - defs.append('WITH_TIFF') -if env['WITH_BF_CINEON']: - defs.append('WITH_CINEON') -if env['WITH_BF_OIIO']: - defs.append('WITH_OPENIMAGEIO') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -env.BlenderLib ( 'bf_editors_space_image', sources, Split(incs), defs, libtype=['core'], priority=[40] ) diff --git a/source/blender/editors/space_info/SConscript b/source/blender/editors/space_info/SConscript deleted file mode 100644 index e17c39f7e38..00000000000 --- a/source/blender/editors/space_info/SConscript +++ /dev/null @@ -1,57 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blenloader', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_space_info', sources, Split(incs), defs, libtype=['core'], priority=[70] ) diff --git a/source/blender/editors/space_logic/SConscript b/source/blender/editors/space_logic/SConscript deleted file mode 100644 index 4b618710d1f..00000000000 --- a/source/blender/editors/space_logic/SConscript +++ /dev/null @@ -1,58 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../interface', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_space_game', sources, Split(incs), defs, libtype=['core'], priority=[120] ) diff --git a/source/blender/editors/space_nla/SConscript b/source/blender/editors/space_nla/SConscript deleted file mode 100644 index 5bfa8d6c4c2..00000000000 --- a/source/blender/editors/space_nla/SConscript +++ /dev/null @@ -1,53 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_space_nla', sources, Split(incs), defs, libtype=['core'], priority=[85] ) diff --git a/source/blender/editors/space_node/SConscript b/source/blender/editors/space_node/SConscript deleted file mode 100644 index b559b61cf5a..00000000000 --- a/source/blender/editors/space_node/SConscript +++ /dev/null @@ -1,73 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../compositor', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../nodes', - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -cf = [] -if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): - #cf.append('/WX') - pass -if env['CC'] == 'gcc': - #cf.append('-Werror') - pass - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_COMPOSITOR']: - defs.append("WITH_COMPOSITOR") - -env.BlenderLib ( 'bf_editors_space_node', sources, Split(incs), defs, libtype=['core'], priority=[55], compileflags=cf ) diff --git a/source/blender/editors/space_outliner/SConscript b/source/blender/editors/space_outliner/SConscript deleted file mode 100644 index dce559a21df..00000000000 --- a/source/blender/editors/space_outliner/SConscript +++ /dev/null @@ -1,53 +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('*.c') - -defs = [] -defs == env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_space_outliner', sources, incs, defines=defs, libtype=['core'], priority=[60] ) diff --git a/source/blender/editors/space_script/SConscript b/source/blender/editors/space_script/SConscript deleted file mode 100644 index c03a61ec197..00000000000 --- a/source/blender/editors/space_script/SConscript +++ /dev/null @@ -1,53 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../python', - '../../windowmanager', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - -env.BlenderLib ( 'bf_editors_space_script', sources, incs, defs, libtype=['core'], priority=[90] ) diff --git a/source/blender/editors/space_sequencer/SConscript b/source/blender/editors/space_sequencer/SConscript deleted file mode 100644 index 9c654d7a1e5..00000000000 --- a/source/blender/editors/space_sequencer/SConscript +++ /dev/null @@ -1,60 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs.append(env['BF_AUDASPACE_C_INC']) - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib('bf_editors_space_sequencer', sources, incs, defs, libtype=['core'], priority=[100]) diff --git a/source/blender/editors/space_text/SConscript b/source/blender/editors/space_text/SConscript deleted file mode 100644 index d11671fe743..00000000000 --- a/source/blender/editors/space_text/SConscript +++ /dev/null @@ -1,58 +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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../python', - '../../windowmanager', - ] - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib('bf_editors_space_text', sources, incs, defs, libtype=['core'], priority=[95]) diff --git a/source/blender/editors/space_time/SConscript b/source/blender/editors/space_time/SConscript deleted file mode 100644 index 86437b9c258..00000000000 --- a/source/blender/editors/space_time/SConscript +++ /dev/null @@ -1,48 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -env.BlenderLib('bf_editors_space_time', sources, incs, defs, libtype=['core'], priority=[65]) diff --git a/source/blender/editors/space_userpref/SConscript b/source/blender/editors/space_userpref/SConscript deleted file mode 100644 index ce2e83f7b33..00000000000 --- a/source/blender/editors/space_userpref/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('*.c') - -incs = [ - '#/intern/guardedalloc', - '#/extern/glew/include', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -defs = [] - -env.BlenderLib('bf_editors_space_userpref', sources, incs, defs, libtype=['core'], priority=[70]) diff --git a/source/blender/editors/space_view3d/SConscript b/source/blender/editors/space_view3d/SConscript deleted file mode 100644 index 7fdccce1c0e..00000000000 --- a/source/blender/editors/space_view3d/SConscript +++ /dev/null @@ -1,74 +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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#/intern/smoke/extern', - '#/source/gameengine/BlenderRoutines', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../render/extern/include', - '../../windowmanager', - '../../depsgraph', - ] - -if env['WITH_BF_PYTHON']: - incs.append('../../python') - defs.append('WITH_PYTHON') - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -if env['WITH_BF_LEGACY_DEPSGRAPH']: - defs.append('WITH_LEGACY_DEPSGRAPH') - -env.BlenderLib ( 'bf_editors_space_view3d', sources, incs, defines = defs, libtype=['core'], priority=[40] ) diff --git a/source/blender/editors/transform/SConscript b/source/blender/editors/transform/SConscript deleted file mode 100644 index d35c2fc24ae..00000000000 --- a/source/blender/editors/transform/SConscript +++ /dev/null @@ -1,59 +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('*.c') - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../ikplugin', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - '../../depsgraph', - ] - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_LEGACY_DEPSGRAPH']: - defs.append('WITH_LEGACY_DEPSGRAPH') - -env.BlenderLib ( 'bf_editors_transform', sources, incs, defs, libtype=['core'], priority=[40] ) diff --git a/source/blender/editors/util/SConscript b/source/blender/editors/util/SConscript deleted file mode 100644 index 7d9991e6483..00000000000 --- a/source/blender/editors/util/SConscript +++ /dev/null @@ -1,57 +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('*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - incs.append('../../python') - -env.BlenderLib ( 'bf_editors_util', sources, incs, defines=defs, libtype=['core','player'], priority=[330,210] ) diff --git a/source/blender/editors/uvedit/SConscript b/source/blender/editors/uvedit/SConscript deleted file mode 100644 index 85ea7f45536..00000000000 --- a/source/blender/editors/uvedit/SConscript +++ /dev/null @@ -1,54 +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') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -sources = env.Glob('*.c') - -incs = [ - '#/intern/guardedalloc', - '#/intern/eigen', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../include', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../gpu', - '../../makesdna', - '../../makesrna', - '../../windowmanager', - ] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -env.BlenderLib ( 'bf_editors_uvedit', sources, incs, defs, libtype=['core'], priority=[45] ) 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 -) - diff --git a/source/blender/gpu/SConscript b/source/blender/gpu/SConscript deleted file mode 100644 index 15898f5c203..00000000000 --- a/source/blender/gpu/SConscript +++ /dev/null @@ -1,93 +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/*.c') -sources += env.Glob('shaders/*.c') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '.', - '#/intern/glew-mx', - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/smoke/extern', - '../blenkernel', - '../blenlib', - '../bmesh', - '../imbuf', - '../include', - '../makesdna', - '../makesrna', - '../nodes', - '../nodes/intern', - ] - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - -if env['WITH_BF_SMOKE']: - defs.append('WITH_SMOKE') - -if env['WITH_BF_DDS']: - defs.append('WITH_DDS') - -if env['WITH_BF_OPENSUBDIV']: - defs.append('WITH_OPENSUBDIV') - -# generated data files -import os -sources.extend(( - os.path.join(env['DATA_SOURCES'], "gpu_shader_geometry.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_program_smoke_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_program_smoke_color_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_basic_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_basic_vert.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_ssao_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_hq_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_hq_vert.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_hq_geo.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_vert.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_depth_resolve.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_lib.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_vert.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_material.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_sep_gaussian_blur_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_sep_gaussian_blur_vert.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_vertex.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_vertex_world.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_vsm_store_frag.glsl.c"), - os.path.join(env['DATA_SOURCES'], "gpu_shader_vsm_store_vert.glsl.c"), - )) - -env.BlenderLib('bf_gpu', sources, incs, defines=defs, libtype=['core', 'player'], priority=[160, 110]) diff --git a/source/blender/ikplugin/SConscript b/source/blender/ikplugin/SConscript deleted file mode 100644 index 4a4cb4f2cbd..00000000000 --- a/source/blender/ikplugin/SConscript +++ /dev/null @@ -1,49 +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/*.c') + env.Glob('intern/*.cpp') - -incs = [ - '#/extern/Eigen3', - '#/intern/guardedalloc', - '#/intern/itasc', - '#/intern/iksolver/extern', - '../blenkernel', - '../blenlib', - '../ikplugin', - '../include', - '../makesdna', - ] - -defs = [ - 'WITH_IK_ITASC', - 'WITH_IK_SOLVER', - ] - -env.BlenderLib('bf_ikplugin', sources, incs, defs, libtype=['core', 'player'], priority=[180, 190]) diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript deleted file mode 100644 index ccee3ebcc85..00000000000 --- a/source/blender/imbuf/SConscript +++ /dev/null @@ -1,100 +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 os -Import ('env') - -sources = env.Glob('intern/*.c') - -incs = [ - '.', - '#/intern/opencolorio', - '#/intern/ffmpeg', - '#/intern/guardedalloc', - '#/intern/memutil', - '../avi', - '../blenkernel', - '../blenlib', - '../blenloader', - '../makesdna', - '../makesrna', - env['BF_JPEG_INC'], - env['BF_PNG_INC'], - env['BF_TIFF_INC'], - env['BF_ZLIB_INC'], - ] -incs = ' '.join(incs) - -defs = [] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - incs += ' ../../../intern/utfconv' - -if env['WITH_BF_OIIO']: - defs.append('WITH_OPENIMAGEIO') - -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') -else: - sources.append(os.path.join('intern', 'openexr', 'openexr_stub.cpp')) - -if env['WITH_BF_TIFF']: - defs.append('WITH_TIFF') -else: - sources.remove(os.path.join('intern', 'tiff.c')) - -if env['WITH_BF_DDS']: - defs.append('WITH_DDS') - -if env['WITH_BF_CINEON']: - defs.append('WITH_CINEON') - -if env['WITH_BF_HDR']: - defs.append('WITH_HDR') -else: - sources.remove(os.path.join('intern', 'radiance_hdr.c')) - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - incs += ' ' + env['BF_FFMPEG_INC'] - -if env['WITH_BF_OPENJPEG']: - defs.append('WITH_OPENJPEG') - incs += ' ' + env['BF_OPENJPEG_INC'] -else: - sources.remove(os.path.join('intern', 'jp2.c')) - -if env['WITH_BF_REDCODE']: - defs.append('WITH_REDCODE') - incs += ' ' + env['BF_REDCODE_INC'] - -if env['WITH_BF_QUICKTIME']: - incs += ' ../quicktime ' + env['BF_QUICKTIME_INC'] - defs.append('WITH_QUICKTIME') - -env.BlenderLib ( libname = 'bf_imbuf', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [185,115] ) diff --git a/source/blender/imbuf/intern/cineon/SConscript b/source/blender/imbuf/intern/cineon/SConscript deleted file mode 100644 index 037a7fec1bc..00000000000 --- a/source/blender/imbuf/intern/cineon/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') - -source_files = env.Glob('*.c') - -incs = ['.', - '../../../blenkernel', - '../../', - '..', - '../../../blenlib', - 'intern/include', - '#/intern/guardedalloc', - '../../../makesdna'] - -defs = [] - -if env['WITH_BF_CINEON']: - defs.append('WITH_CINEON') - -env.BlenderLib ('bf_imbuf_cineon', source_files, incs, defs, libtype=['core','player'], priority = [220,175]) diff --git a/source/blender/imbuf/intern/dds/SConscript b/source/blender/imbuf/intern/dds/SConscript deleted file mode 100644 index 960e15f8e55..00000000000 --- a/source/blender/imbuf/intern/dds/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') - -source_files = ['dds_api.cpp', 'DirectDrawSurface.cpp', 'Stream.cpp', 'BlockDXT.cpp', 'ColorBlock.cpp', 'Image.cpp', 'FlipDXT.cpp'] - -incs = [ - '.', - '..', - '../..', - '../../../makesdna', - '../../../blenkernel', - '../../../blenlib', - 'intern/include', - '#/intern/guardedalloc', - '#/intern/utfconv' - ] - - -defs = ['WITH_DDS'] - -env.BlenderLib ('bf_imbuf_dds', source_files, incs, defs, libtype=['core','player'], priority = [230,190]) diff --git a/source/blender/imbuf/intern/oiio/SConscript b/source/blender/imbuf/intern/oiio/SConscript deleted file mode 100644 index 82b47e9c46b..00000000000 --- a/source/blender/imbuf/intern/oiio/SConscript +++ /dev/null @@ -1,49 +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) 2013, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') - -source_files = ['openimageio_api.cpp'] - -incs = ['.', - '../../../blenkernel', - '../../', - '..', - '../../../blenlib', - 'intern/include', - '#/intern/guardedalloc', - '../../../makesdna', - '#/intern/utfconv'] - -incs += Split(env['BF_OIIO_INC']) - -defs = ['WITH_OPENIMAGEIO'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): - incs.append(env['BF_PTHREADS_INC']) - -env.BlenderLib ('bf_imbuf_openimageio', source_files, incs, defs, libtype=['core','player'], priority = [225,180]) diff --git a/source/blender/imbuf/intern/openexr/SConscript b/source/blender/imbuf/intern/openexr/SConscript deleted file mode 100644 index ac38c0458d9..00000000000 --- a/source/blender/imbuf/intern/openexr/SConscript +++ /dev/null @@ -1,49 +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') - -source_files = ['openexr_api.cpp'] - -incs = ['.', - '../../../blenkernel', - '../../', - '..', - '../../../blenlib', - 'intern/include', - '#/intern/guardedalloc', - '../../../makesdna', - '#/intern/utfconv'] - -incs += Split(env['BF_OPENEXR_INC']) - -defs = ['WITH_OPENEXR'] - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): - incs.append(env['BF_PTHREADS_INC']) - -env.BlenderLib ('bf_imbuf_openexr', source_files, incs, defs, libtype=['core','player'], priority = [225,180]) diff --git a/source/blender/imbuf/readme.txt b/source/blender/imbuf/readme.txt index 181d5485310..d50cb8c781d 100644 --- a/source/blender/imbuf/readme.txt +++ b/source/blender/imbuf/readme.txt @@ -38,10 +38,8 @@ and add your extension so that your format gets recognized in the thumbnails. Step 6: Alter the build process: -For scons you need to edit blender/source/blender/imbuf/SConscript +For cmake you need to edit blender/source/blender/imbuf/CMakeLists.txt and add in your additional files to source_files. -For msvp you need to edit blender/projectfiles/blender/imbuf/BL_imbuf.dsp -and add in your additional files. If you have any external library info you will also need to add that to the various build processes. diff --git a/source/blender/makesdna/SConscript b/source/blender/makesdna/SConscript deleted file mode 100644 index f276070f3dc..00000000000 --- a/source/blender/makesdna/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') - -objs = [] -defs = [] - -o = SConscript('intern/SConscript') -objs += o - -incs = [ - '.', - '#/intern/guardedalloc', - '../blenlib', - ] - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -env.BlenderLib('bf_dna', objs, incs, defs, libtype=['core', 'player'], priority = [215, 200]) diff --git a/source/blender/makesdna/intern/SConscript b/source/blender/makesdna/intern/SConscript deleted file mode 100644 index 50c26eb6732..00000000000 --- a/source/blender/makesdna/intern/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 sys -import os - -def normpath(path): - return os.path.abspath(os.path.normpath(path)) - -Import ('env') -cflags = '' -defines = [] -root_build_dir=normpath(env['BF_BUILDDIR']) - -source_files = ['makesdna.c'] -header_files = env.Glob('../*.h') - -makesdna_tool = env.Clone() -dna = env.Clone() -makesdna_tool.Append(CCFLAGS = '-DBASE_HEADER="\\"source/blender/makesdna/\\"" ') - -makesdna_tool.Append (CPPPATH = ['#/intern/guardedalloc', - '#/intern/atomic', - '../../makesdna', '../../bmesh', - '../../blenlib']) - -if env['OURPLATFORM'] == 'linuxcross': - USE_WINE = True # when cross compiling on linux 64bit this is useful -else: - USE_WINE = False - -if not USE_WINE: - if env['OURPLATFORM'] == 'linuxcross': - makesdna_tool.Replace(CC='gcc') - makesdna_tool.Replace(AR='ar') - makesdna_tool.Replace(LINK='gcc') - -if sys.platform != 'cygwin': - makesdna_tool.Append (CCFLAGS = cflags) -makesdna_tool.Append (CPPDEFINES = defines) -makesdna_tool.Append( CFLAGS = env['CFLAGS']) -makesdna_tool.Append( CCFLAGS = env['CCFLAGS']) -makesdna_tool.Append( LINKFLAGS = env['PLATFORM_LINKFLAGS']) -targetdir = normpath(root_build_dir+'/lib') - -if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'): - targetdir = '#'+targetdir -makesdna_tool.Append (LIBPATH = targetdir) -if env['BF_PROFILE']: - makesdna_tool.Append (LINKFLAGS = env['BF_PROFILE_LINKFLAGS']) - -targetdir = normpath(root_build_dir + '/makesdna') - -if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'): - targetdir = '#' + targetdir - -makesdna = makesdna_tool.Program (target = targetdir, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_blenlib']) - -dna_dict = dna.Dictionary() -dna.Depends ('dna.c', makesdna) -dna.Depends ('dna.c', header_files) - -if env['OURPLATFORM'] != 'linuxcross': - dna.Command ('dna.c', '', "\"" + root_build_dir+os.sep+"makesdna\" $TARGET") -else: - dna.Command ('dna.c', '', ('', 'wine ')[USE_WINE] + root_build_dir+os.sep+"makesdna $TARGET") - -# TODO, get WITH_DNA_GHASH working, see CMake's 'WITH_DNA_GHASH' -obj = ['intern/dna.c', 'intern/dna_genfile.c'] -Return ('obj') diff --git a/source/blender/makesrna/SConscript b/source/blender/makesrna/SConscript deleted file mode 100644 index 1ed4982cf94..00000000000 --- a/source/blender/makesrna/SConscript +++ /dev/null @@ -1,165 +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') - -objs = [] - -o = SConscript('intern/SConscript') -objs += o - -incs = [ - '.', - './intern', - '#/intern/guardedalloc', - '#/intern/atomic', - '#/intern/memutil', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#/intern/cycles/blender', - '#/intern/smoke/extern', - '../blenfont', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../bmesh', - '../depsgraph', - '../editors/include', - '../gpu', - '../ikplugin', - '../imbuf', - '../makesdna', - '../nodes', - '../physics', - '../render/extern/include', - '../windowmanager', - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_SMOKE']: - defs.append('WITH_SMOKE') - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - incs += ' #/intern/rigidbody' - -if env['WITH_BF_OIIO']: - defs.append('WITH_OPENIMAGEIO') - -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') - -if env['WITH_BF_TIFF']: - defs.append('WITH_TIFF') - -if env['WITH_BF_OPENJPEG']: - defs.append('WITH_OPENJPEG') - -if env['WITH_BF_DDS']: - defs.append('WITH_DDS') - -if env['WITH_BF_CINEON']: - defs.append('WITH_CINEON') - -if env['WITH_BF_HDR']: - defs.append('WITH_HDR') - -if env['WITH_BF_FRAMESERVER']: - defs.append('WITH_FRAMESERVER') - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - incs += ' ' + env['BF_FFMPEG_INC'] + ' #/intern/ffmpeg' - -if env['WITH_BF_QUICKTIME']: - defs.append('WITH_QUICKTIME') - incs += ' ../quicktime' - # Quicktime needs audaspace defines - if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs += ' ' + env['BF_AUDASPACE_C_INC'] - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') - -if env['BF_UNIT_TEST']: - defs.append('UNIT_TEST') - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - incs += ' ../python' - -if env['WITH_BF_COLLADA']: - defs.append('WITH_COLLADA') - -if env['WITH_BF_OCEANSIM']: - defs.append('WITH_OCEANSIM') - -if env['WITH_BF_CYCLES']: - defs.append('WITH_CYCLES') - - if env['WITH_BF_CYCLES_DEBUG']: - defs.append('WITH_CYCLES_DEBUG') - -if env['WITH_BF_SDL']: - if env['WITH_BF_SDL_DYNLOAD']: - defs.append('WITH_SDL_DYNLOAD') - incs += ' #extern/sdlew/include' - defs.append('WITH_SDL') - -if env['WITH_BF_OPENAL']: - defs.append('WITH_OPENAL') - -if env['WITH_BF_JACK']: - defs.append('WITH_JACK') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - incs += ' ../freestyle' - -if env['WITH_BF_OPENSUBDIV']: - incs += ' #/intern/opensubdiv' - defs.append('WITH_OPENSUBDIV') - -if env['WITH_BF_AUDASPACE']: - defs.append('WITH_AUDASPACE') - -if env['OURPLATFORM'] == 'linux': - cflags='-pthread' - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -rnalib = env.BlenderLib ( 'bf_rna', objs, Split(incs), defines=defs, libtype=['core','player'], priority = [165,20] ) - -Return ('rnalib') diff --git a/source/blender/makesrna/intern/SConscript b/source/blender/makesrna/intern/SConscript deleted file mode 100644 index 8307e4cec6f..00000000000 --- a/source/blender/makesrna/intern/SConscript +++ /dev/null @@ -1,247 +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 os - -def normpath(path): - return os.path.abspath(os.path.normpath(path)) - -Import ('env') -cflags = [] #['-Wall'] -defines = [] -root_build_dir=normpath(env['BF_BUILDDIR']) - -source_files = env.Glob('*.c') -source_files.remove('rna_access.c') - -generated_files = source_files[:] -generated_files.remove('rna_define.c') -generated_files.remove('makesrna.c') - -api_files = env.Glob('*_api.c') -for api_file in api_files: - generated_files.remove(api_file) - -generated_files = [filename[:-2] + '_gen.c' for filename in generated_files] - -makesrna_tool = env.Clone() -rna = env.Clone() -makesrna_tool.Append(CCFLAGS = '-DBASE_HEADER="\\"source/blender/makesrna/\\"" ') - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -incs = [ - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#/intern/cycles/blender', - '#/intern/smoke/extern', - '../../blenfont', - '../../blenkernel', - '../../blenlib', - '../../blentranslation', - '../../bmesh', - '../../depsgraph', - '../../editors/include', - '../../gpu', - '../../ikplugin', - '../../imbuf', - '../../makesdna', - '../../makesrna', - '../../physics', - '../../render/extern/include', - '../../windowmanager', - ] -incs = ' '.join(incs) - -if env['WITH_BF_SMOKE']: - defs.append('WITH_SMOKE') - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - incs += ' #/intern/rigidbody' - -if env['WITH_BF_OIIO']: - defs.append('WITH_OPENIMAGEIO') - -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') - -if env['WITH_BF_TIFF']: - defs.append('WITH_TIFF') - -if env['WITH_BF_OPENJPEG']: - defs.append('WITH_OPENJPEG') - -if env['WITH_BF_DDS']: - defs.append('WITH_DDS') - -if env['WITH_BF_CINEON']: - defs.append('WITH_CINEON') - -if env['WITH_BF_HDR']: - defs.append('WITH_HDR') - -if env['WITH_BF_FRAMESERVER']: - defs.append('WITH_FRAMESERVER') - -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') - incs += ' ' + env['BF_FFMPEG_INC'] + ' #/intern/ffmpeg' - -if env['WITH_BF_QUICKTIME']: - defs.append('WITH_QUICKTIME') - incs += ' ../../quicktime' - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') - -if env['WITH_BF_FFTW3']: - defs.append('WITH_FFTW3') - -if env['WITH_BF_SDL']: - if env['WITH_BF_SDL_DYNLOAD']: - defs.append('WITH_SDL_DYNLOAD') - incs += ' #extern/sdlew/include' - defs.append('WITH_SDL') - -if env['WITH_BF_OPENAL']: - defs.append('WITH_OPENAL') - -if env['WITH_BF_JACK']: - defs.append('WITH_JACK') - -if env['BF_UNIT_TEST']: - defs.append('UNIT_TEST') - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - -if env['WITH_BF_COLLADA']: - defs.append('WITH_COLLADA') - -if env['WITH_BF_CYCLES']: - defs.append('WITH_CYCLES') - if env['WITH_BF_CYCLES_DEBUG']: - defs.append('WITH_CYCLES_DEBUG') - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - incs += ' ../../freestyle' - -if env['WITH_BF_OPENSUBDIV']: - defs.append('WITH_OPENSUBDIV') - incs += ' #intern/opensubdiv' - -if env['WITH_BF_AUDASPACE']: - defs.append('WITH_AUDASPACE') - -if env['OURPLATFORM'] == 'linux': - cflags='-pthread' - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if not env['BF_DEBUG']: - defs.append('NDEBUG') - -makesrna_tool.Append(CPPDEFINES=defs) - -makesrna_tool.Append (CPPPATH = Split(incs)) - -if env['OURPLATFORM'] == 'linuxcross': - USE_WINE = True # when cross compiling on linux 64bit this is useful -else: - USE_WINE = False - -if not USE_WINE: - if env['OURPLATFORM'] == 'linuxcross': - makesdna_tool.Replace(CC='gcc') - makesdna_tool.Replace(AR='ar') - makesdna_tool.Replace(LINK='gcc') - -if sys.platform != 'cygwin': - makesrna_tool.Append (CCFLAGS = cflags) -makesrna_tool.Append (CPPDEFINES = defines) - -libdir = root_build_dir+'/lib' -if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'): - libdir = '#' + libdir - -makesrna_tool.Append (LIBPATH = libdir) - -makesrna_tool.Append( CFLAGS = env['CFLAGS']) -makesrna_tool.Append( CCFLAGS = env['CCFLAGS']) -makesrna_tool.Append( LINKFLAGS = env['PLATFORM_LINKFLAGS']) - -if env['BF_PROFILE']: - makesrna_tool.Append (LINKFLAGS = env['BF_PROFILE_FLAGS']) - -if env['BF_DEBUG']: - makesrna_tool.Append(CFLAGS = env['BF_DEBUG_CFLAGS']) - makesrna_tool.Append(CCFLAGS = env['BF_DEBUG_CCFLAGS']) - if env['OURPLATFORM'] in ('win32-vc','win64-vc'): - makesrna_tool.Append(LINKFLAGS = ['/DEBUG','/PDB:makesrna.pdb']) - -targetpath = root_build_dir+'/makesrna' -if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'): - targetpath = '#' + targetpath - -if env['OURPLATFORM'] == 'linux' and root_build_dir[0]==os.sep: - makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib']) -else: - makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib']) - -rna_dict = rna.Dictionary() -rna.Depends (generated_files, makesrna) - -build_dir = Dir(".").abspath + os.sep - -if env['OURPLATFORM'] != 'linuxcross': - if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw', 'win64-mingw'): - rna.Command (generated_files, '', "\"" + root_build_dir+os.sep+"makesrna.exe\" \"" + build_dir ) - else: - rna.Command (generated_files, '', "\"" + root_build_dir+os.sep+"makesrna\" \"" + build_dir + '"' ) -else: - rna.Command (generated_files, '', ('', 'wine ')[USE_WINE] + root_build_dir+os.sep+"makesrna.exe " + build_dir) - - -obj = ['intern/rna_access.c'] -for generated_file in generated_files: - obj += ['intern/' + generated_file] - -Return ('obj') - diff --git a/source/blender/modifiers/SConscript b/source/blender/modifiers/SConscript deleted file mode 100644 index 30007118562..00000000000 --- a/source/blender/modifiers/SConscript +++ /dev/null @@ -1,88 +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/*.c') - -incs = [ - '.', - './intern', - '#/intern/guardedalloc', - '#/intern/eigen', - '#/intern/elbeem/extern', - '../render/extern/include', - '../bmesh', - '../include', - '../blenlib', - '../blenfont', - '../depsgraph', - '../makesdna', - '../makesrna', - '../blenkernel', - '../gpu', - env['BF_ZLIB_INC'], - ] - -defs = [] - -if env['WITH_BF_BOOLEAN']: - incs.append('#/extern/carve') - defs.append('WITH_MOD_BOOLEAN') -else: - from os import path - sources.remove(path.join('intern', 'MOD_boolean_util.c')) - -if env['WITH_BF_REMESH']: - incs.append('#/intern/dualcon') - defs.append('WITH_MOD_REMESH') - -if env['WITH_BF_FLUID']: - defs.append('WITH_MOD_FLUID') - -if env['WITH_BF_OCEANSIM']: - defs.append('WITH_OCEANSIM') - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - -if env['WITH_BF_GAMEENGINE']: - incs.append('#/extern/recastnavigation') - defs.append('WITH_GAMEENGINE') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_OPENSUBDIV']: - defs.append('WITH_OPENSUBDIV') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs.append(env['BF_PTHREADS_INC']) - -env.BlenderLib(libname='bf_modifiers', sources=sources, - includes=incs, defines=defs, - libtype=['core', 'player'], priority=[80, 40]) diff --git a/source/blender/nodes/SConscript b/source/blender/nodes/SConscript deleted file mode 100644 index ad500725812..00000000000 --- a/source/blender/nodes/SConscript +++ /dev/null @@ -1,85 +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/*.c') -cmpsources = env.Glob('composite/*.c') + env.Glob('composite/nodes/*.c') -shdsources = env.Glob('shader/*.c') + env.Glob('shader/nodes/*.c') -texsources = env.Glob('texture/*.c') + env.Glob('texture/nodes/*.c') - -incs = [ - '.', - './composite', - './intern', - './shader', - './texture', - '#/intern/guardedalloc', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../gpu', - '../imbuf', - '../makesdna', - '../makesrna', - '../render/extern/include', - env['BF_ZLIB_INC'], - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - incs += ' ../python' - defs.append('WITH_PYTHON') - if env['BF_DEBUG']: - defs.append('_DEBUG') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['WITH_BF_COMPOSITOR']: - incs += ' ../compositor ' - defs.append("WITH_COMPOSITOR") - -if env['WITH_BF_FREESTYLE']: - defs.append('WITH_FREESTYLE') - -if env['WITH_BF_CYCLES'] and env['WITH_BF_CYCLES_DEBUG']: - defs.append('WITH_CYCLES_DEBUG') - -env.BlenderLib ( libname = 'bf_nodes', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [190,105] ) -env.BlenderLib ( libname = 'bf_cmpnodes', sources = cmpsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] ) -env.BlenderLib ( libname = 'bf_shdnodes', sources = shdsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] ) -env.BlenderLib ( libname = 'bf_texnodes', sources = texsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] ) diff --git a/source/blender/physics/SConscript b/source/blender/physics/SConscript deleted file mode 100644 index c8165886cab..00000000000 --- a/source/blender/physics/SConscript +++ /dev/null @@ -1,44 +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) 2011, Blender Foundation -# All rights reserved. -# -# The Original Code is: all of this file. -# -# Contributor(s): Jeroen Bakker, Monique Dewanchand, Blender Developers Fund. -# -# ***** END GPL LICENSE BLOCK ***** - -Import ('env') -defs = [] - -sources = env.Glob('intern/*.cpp') + env.Glob('intern/*.c') - -incs = [ - '.', - 'intern', - '../blenlib', - '../blenkernel', - '../imbuf', - '../makesdna', - '../../../intern/guardedalloc', - '../../../extern/Eigen3', - ] - -env.BlenderLib('bf_physics', sources, incs, defines=defs, libtype=['core', 'player'], priority=[180, 190]) diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript deleted file mode 100644 index 79c53760302..00000000000 --- a/source/blender/python/SConscript +++ /dev/null @@ -1,210 +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 ***** - -# TODO, split into 3 files. - -Import ('env') - -incs = [ - '.', - '#/intern/guardedalloc', - '#/intern/memutil', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '#/intern/cycles/blender', - '../blentranslation', - '../blenfont', - '../blenkernel', - '../blenlib', - '../blenloader', - '../bmesh', - '../editors/include', - '../gpu', - '../imbuf', - '../makesdna', - '../makesrna', - '../nodes', - '../render/extern/include', - '../windowmanager', - env['BF_PYTHON_INC'], - ] -incs = ' '.join(incs) - -is_debug = (env['OURPLATFORM'] in ('win32-mingw', 'win32-vc','win64-vc', 'win64-mingw') and env['BF_DEBUG']) - -# bmesh -defs = [] - -sources = env.Glob('bmesh/*.c') -env.BlenderLib( libname = 'bf_python_bmesh', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165]) - -# generic -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if is_debug: - defs.append('_DEBUG') - -sources = env.Glob('generic/*.c') -env.BlenderLib( libname = 'bf_python_ext', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [363,165]) # ketsji is 360 - - -# mathutils -defs = [] - -sources = env.Glob('mathutils/*.c') -env.BlenderLib( libname = 'bf_python_mathutils', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165]) - - -# bpy -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if is_debug: - defs.append('_DEBUG') - -if env['WITH_BF_PYTHON_SAFETY']: - defs.append('WITH_PYTHON_SAFETY') - -if env['BF_BUILDINFO']: - defs.append('BUILD_DATE') - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - -if env['WITH_BF_BULLET']: - defs.append('WITH_BULLET') - -# AVI is always on currently - -if env['WITH_BF_FFMPEG']: - defs.append('WITH_FFMPEG') - incs += ' ' + env['BF_FFMPEG_INC'] - -if env['WITH_BF_QUICKTIME']: - defs.append('WITH_QUICKTIME') - -if env['WITH_BF_SNDFILE']: - defs.append('WITH_SNDFILE') - -if env['WITH_BF_COMPOSITOR']: - defs.append('WITH_COMPOSITOR') - -if env['WITH_BF_CYCLES']: - defs.append('WITH_CYCLES') - -if env['WITH_BF_CYCLES_OSL']: - defs.append('WITH_CYCLES_OSL') - -if env['WITH_BF_FREESTYLE']: - incs += ' ../freestyle/intern/python' - defs.append('WITH_FREESTYLE') - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') - -if env['WITH_BF_CINEON']: - defs.append('WITH_CINEON') - -if env['WITH_BF_DDS']: - defs.append('WITH_DDS') - -if env['WITH_BF_FRAMESERVER']: - defs.append('WITH_FRAMESERVER') - -if env['WITH_BF_HDR']: - defs.append('WITH_HDR') - -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') - -if env['WITH_BF_OPENJPEG']: - defs.append('WITH_OPENJPEG') - -if env['WITH_BF_REDCODE']: - defs.append('WITH_REDCODE') - -if env['WITH_BF_TIFF']: - defs.append('WITH_TIFF') - -# NDof is always on currently - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_OPENAL']: - defs.append('WITH_OPENAL') - -if env['WITH_BF_SDL']: - defs.append('WITH_SDL') - incs += ' ' + env['BF_SDL_INC'] - - if env['WITH_BF_SDL_DYNLOAD']: - defs.append('WITH_SDL_DYNLOAD') - incs += ' #extern/sdlew/include' - -if env['WITH_BF_JACK']: - defs.append('WITH_JACK') - -if env['WITH_BF_LIBMV']: - defs.append('WITH_LIBMV') - -if env['WITH_BF_BOOLEAN']: - defs.append('WITH_MOD_BOOLEAN') - -if env['WITH_BF_FLUID']: - defs.append('WITH_MOD_FLUID') - -if env['WITH_BF_OCEANSIM']: - defs.append('WITH_OCEANSIM') - -if env['WITH_BF_REMESH']: - defs.append('WITH_MOD_REMESH') - -if env['WITH_BF_SMOKE']: - defs.append('WITH_SMOKE') - -if env['WITH_BF_COLLADA']: - defs.append('WITH_COLLADA') - -if env['WITH_BF_OCIO']: - defs.append('WITH_OCIO') - incs += ' ' + '#/intern/opencolorio' - -if env['WITH_BF_OIIO']: - defs.append('WITH_OPENIMAGEIO') - incs += ' ../imbuf/intern/oiio' - -if env['WITH_BF_PLAYER']: - defs.append('WITH_PLAYER') - - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-mingw', 'linuxcross', 'win64-vc'): - incs += ' ' + env['BF_PTHREADS_INC'] - -sources = env.Glob('intern/*.c') -env.BlenderLib( libname = 'bf_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core'], priority = [361]) diff --git a/source/blender/quicktime/SConscript b/source/blender/quicktime/SConscript deleted file mode 100644 index 746662ebf3e..00000000000 --- a/source/blender/quicktime/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') - - -source_files = ['apple/qtkit_import.m', - 'apple/qtkit_export.m'] - - -incs = ['.', - '../quicktime', - '../makesdna', - '../makesrna', - '../windowmanager', - '#/intern/guardedalloc', - '../blenlib', - '../blenkernel', - '../avi', - '../imbuf', - '../imbuf/intern', - '../render/extern/include', - '../editors/include'] - -incs.append(env['BF_QUICKTIME_INC']) - -types = ['core','player'] -priorities = [200,235] - -defs=['WITH_QUICKTIME'] - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs.append(env['BF_AUDASPACE_C_INC']) - -if env['C_COMPILER_ID'] == 'gcc' and env['CCVERSION'] >= '4.6': # always use default-Apple-gcc for objC language, gnu-compilers do not support it fully yet - env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities, cc_compilerchange='/usr/bin/gcc', cxx_compilerchange='/usr/bin/g++') -else: - env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities) diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript deleted file mode 100644 index 16d9b4a832d..00000000000 --- a/source/blender/render/SConscript +++ /dev/null @@ -1,125 +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/source/*.c') -raysources = env.Glob('intern/raytrace/*.cpp') - -incs = [ - 'extern/include', - 'intern/include', - '#/intern/guardedalloc', - '../blenkernel', - '../blenlib', - '../blentranslation', - '../imbuf', - '../depsgraph', - '../makesdna', - '../makesrna', - '../physics', - '../../../intern/mikktspace', - '../../../intern/smoke/extern', - ] -incs = ' '.join(incs) - -cflags_raytrace = env['CCFLAGS'] -cxxflags_raytrace = env['CXXFLAGS'] - -defs = [] -defs_raytrace = [] - -if env['WITH_BF_SMOKE']: - defs.append('WITH_SMOKE') - -if env['WITH_BF_PYTHON']: - incs += ' ../python' - defs.append('WITH_PYTHON') - if env['BF_DEBUG']: - defs.append('DEBUG') - -if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): - if env['WITH_BF_RAYOPTIMIZATION']: - cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - cxxflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - -if env['OURPLATFORM'] in ('win32-mingw', 'win64-mingw'): - if env['WITH_BF_RAYOPTIMIZATION']: - cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - -if env['OURPLATFORM'] == 'darwin': - if env['MACOSX_ARCHITECTURE'] in ('i386', 'x86_64') and env['WITH_BF_RAYOPTIMIZATION']: - cflags_raytrace = env['CFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - -if env['OURPLATFORM'] == 'linux': - if env['WITH_BF_RAYOPTIMIZATION']: - cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - -if env['OURPLATFORM'] == 'linuxcross': - if env['WITH_BF_RAYOPTIMIZATION']: - cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - cxxflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] - -if env['WITH_BF_QUICKTIME']: - defs.append('WITH_QUICKTIME') - incs += ' ../quicktime ' + env['BF_QUICKTIME_INC'] - -if env['WITH_BF_OPENEXR']: - defs.append('WITH_OPENEXR') - -if env['WITH_BF_FREESTYLE']: - incs += ' ../freestyle' - defs.append('WITH_FREESTYLE') - -if env['WITH_BF_GAMEENGINE']: - defs.append('WITH_GAMEENGINE') - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_CYCLES'] and env['WITH_BF_CYCLES_DEBUG']: - defs.append('WITH_CYCLES_DEBUG') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -# -# HACK: To fix problem with error 'MMX instruction set not enabled' from mmintrin.h -# -if env['OURPLATFORM'] == 'linuxcross': - defs.append('__SSE__') - defs_raytrace.append('__MMX__') - -if env['WITH_BF_RAYOPTIMIZATION']: - defs.append('__SSE__') - defs_raytrace.append('__SSE__') - -env.BlenderLib ( libname = 'bf_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=145 ) -env.BlenderLib ( libname = 'bf_render_raytrace', sources = raysources, includes = Split(incs), defines=defs_raytrace, libtype='core', priority=145, compileflags=cflags_raytrace, cxx_compileflags=cxxflags_raytrace ) diff --git a/source/blender/windowmanager/SConscript b/source/blender/windowmanager/SConscript deleted file mode 100644 index 1a058ca3136..00000000000 --- a/source/blender/windowmanager/SConscript +++ /dev/null @@ -1,97 +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') -import os - -sources = env.Glob('intern/*.c') - -incs = [ - '.', - '#/intern/ghost', - '#/intern/guardedalloc', - '#/intern/memutil', - '#/source/gameengine/BlenderRoutines', - env['BF_GLEW_INC'], - '#/intern/glew-mx', - '../blenfont', - '../blenkernel', - '../blenlib', - '../blenloader', - '../blentranslation', - '../compositor', - '../editors/include', - '../gpu', - '../imbuf', - '../makesdna', - '../makesrna', - '../nodes', - '../python', - '../render/extern/include', - env['BF_ZLIB_INC'], - ] -incs = ' '.join(incs) - -defs = [] -defs += env['BF_GL_DEFINITIONS'] - -if env['WITH_BF_PYTHON']: - defs.append('WITH_PYTHON') - -if env['WITH_BF_COLLADA']: - defs.append('WITH_COLLADA') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): - incs += ' ' + env['BF_PTHREADS_INC'] - -if env['BF_BUILDINFO']: - defs.append('WITH_BUILDINFO') - -if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc', 'win64-mingw'): - if env['WITH_BF_IME']: - defs.append('WITH_INPUT_IME') - -if env['WITH_BF_AUDASPACE']: - defs += env['BF_AUDASPACE_DEF'] - incs += ' ' + env['BF_AUDASPACE_C_INC'] - -if env['WITH_BF_INTERNATIONAL']: - defs.append('WITH_INTERNATIONAL') - -if env['WITH_BF_COMPOSITOR']: - defs.append("WITH_COMPOSITOR") - -if env['WITH_BF_PYTHON_SECURITY']: - defs.append("WITH_PYTHON_SECURITY") - -if env['OURPLATFORM'] in ('linux', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'freebsd9', 'aix4', 'aix5'): - defs.append("WITH_X11") - -if env['WITH_BF_OPENSUBDIV']: - defs.append("WITH_OPENSUBDIV") - -env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defines=defs, libtype=['core'], priority=[5] ) -- cgit v1.2.3