diff options
author | Michel Selten <michel@mselten.demon.nl> | 2004-01-05 00:11:59 +0300 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2004-01-05 00:11:59 +0300 |
commit | d3e1fc887026d21df8a2791bc8ee3a929962a8a8 (patch) | |
tree | 4292c907772d41e34fe4878e2484005a11cef7de /source/blender/src | |
parent | 2572db0bf0618ecaa4d9153979d70747bc8176b9 (diff) |
SCons build system files added.
You'll need SCons (www.scons.org) to build.
Platforms currently working:
* Linux (me)
- options for quicktime, openal and international disabled
- uses the system libs and include files for building - no option to build
with the precompiled libraries yet.
* Windows (jesterKing)
- builds with quicktime (optional)
- builds with openal (optional)
- builds with international support (optional)
- Use the DOS box to build
- builds with precompiled libraries
* Irix (Hos)
- Uses default Irix compiler
- Not all optimization levels correct yet
- options for quicktime, openal and international disabled
- builds with precompiled libraries
* Cygwin (me)
- has a problem in the linking stage
- uses free build tools (gcc)
- options for quicktime, openal and international disabled
- uses the system libs and include files for building - no option to build
with the precompiled libraries yet.
* MacOS (sgefant)
- builds with quicktime (optional)
- options for openal and international disabled
- builds a nice bundle
- builds with precompiled libraries
Thanks to IanWill for a bugfix in the Linux build.
Note: This is a work in progress. A lot still has to be done - for example the
optional parts are only to be enabled by directly setting 'true' or
'false' in the SConstruct file. This needs to be moved to a user config
file. Also, the .o/.obj files are stored in the source tree. This needs
to be fixed as well.
The game engine is not yet built.
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/SConscript | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/source/blender/src/SConscript b/source/blender/src/SConscript new file mode 100644 index 00000000000..8b84934271f --- /dev/null +++ b/source/blender/src/SConscript @@ -0,0 +1,148 @@ +src_env = Environment() + +# Import the C flags set in the SConstruct file +Import ('cflags') +Import ('cxxflags') +Import ('defines') +Import ('python_include') +Import ('sdl_cflags') +Import ('sdl_include') +Import ('extra_includes') +Import ('use_international') +src_env.Append (CCFLAGS = cflags) +src_env.Append (CCFLAGS = sdl_cflags) +src_env.Append (CXXFLAGS = cxxflags) +src_env.Append (CPPDEFINES = defines) + +source_files = ['B.blend.c', + 'Bfont.c', + 'blenderbuttons.c', + 'booleanops.c', + 'booleanops_mesh.c', + 'buttons_editing.c', + 'buttons_logic.c', + 'buttons_object.c', + 'buttons_scene.c', + 'buttons_script.c', + 'buttons_shading.c', + 'butspace.c', + 'cmap.tga.c', + 'cmovie.tga.c', + 'cursors.c', + 'drawaction.c', + 'drawimage.c', + 'drawimasel.c', + 'drawipo.c', + 'drawmesh.c', + 'drawnla.c', + 'drawobject.c', + 'drawoops.c', + 'drawscene.c', + 'drawscript.c', + 'drawseq.c', + 'drawsound.c', + 'drawtext.c', + 'drawview.c', + 'edit.c', + 'editaction.c', + 'editarmature.c', + 'editconstraint.c', + 'editcurve.c', + 'editdeform.c', + 'editface.c', + 'editfont.c', + 'editgroup.c', + 'editika.c', + 'editimasel.c', + 'editipo.c', + 'editkey.c', + 'editlattice.c', + 'editmball.c', + 'editmesh.c', + 'editnla.c', + 'editobject.c', + 'editoops.c', + 'editscreen.c', + 'editseq.c', + 'editsima.c', + 'editsound.c', + 'editview.c', + 'eventdebug.c', + 'filesel.c', + 'ghostwinlay.c', + 'glutil.c', + 'headerbuttons.c', + 'header_action.c', + 'header_buttonswin.c', + 'header_filesel.c', + 'header_image.c', + 'header_imasel.c', + 'header_info.c', + 'header_ipo.c', + 'header_nla.c', + 'header_oops.c', + 'header_script.c', + 'header_seq.c', + 'header_sound.c', + 'header_text.c', + 'header_view3d.c', + 'imasel.c', + 'interface.c', + 'interface_panel.c', + 'interface_draw.c', + 'keyval.c', + 'mainqueue.c', + 'mywindow.c', + 'oops.c', + 'splash.jpg.c', + 'playanim.c', + 'poseobject.c', + 'previewrender.c', + 'renderwin.c', + 'resources.c', + 'scrarea.c', + 'screendump.c', + 'sequence.c', + 'seqaudio.c', + 'space.c', + 'spacetypes.c', + 'swapbuffers.c', + 'toets.c', + 'toolbox.c', + 'usiblender.c', + 'view.c', + 'vpaint.c', + 'writeavicodec.c', + 'writeimage.c', + 'writemovie.c', + 'language.c'] + +src_env.Append (CPPPATH = ['#/intern/guardedalloc', + '../blenlib', + '../makesdna', + '../blenkernel', + '../include', + '#/intern/bmfont', + '../imbuf', + '../render/extern/include', + '#/intern/bsp/extern', + '../renderconverter', + '../radiosity/extern/include', + '#/intern/decimation/extern', + '../blenloader', + '../python', + '../../kernel/gen_system', + '#/intern/SoundSystem', + '../readstreamglue', + '../img', + '../quicktime', + '#/intern/ghost', + python_include, + sdl_include]) + +if use_international=='true': + src_env.Append (CPPPATH=['../ftfont']) + +src_env.Append (CPPPATH=extra_includes) + +src_env.Library (target='#/lib/blender_blendersrc', source=source_files) |