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.
This commit is contained in:
62
source/blender/python/SConscript
Normal file
62
source/blender/python/SConscript
Normal file
@@ -0,0 +1,62 @@
|
||||
python_env = Environment ()
|
||||
|
||||
# Import the C flags set in the SConstruct file
|
||||
Import ('cflags')
|
||||
Import ('cxxflags')
|
||||
Import ('defines')
|
||||
Import ('python_include')
|
||||
Import ('extra_includes')
|
||||
python_env.Append (CCFLAGS = cflags)
|
||||
python_env.Append (CXXFLAGS = cxxflags)
|
||||
python_env.Append (CPPDEFINES = defines)
|
||||
|
||||
source_files = ['BPY_interface.c',
|
||||
'api2_2x/Blender.c',
|
||||
'api2_2x/Sys.c',
|
||||
'api2_2x/Registry.c',
|
||||
'api2_2x/Scene.c',
|
||||
'api2_2x/Types.c',
|
||||
'api2_2x/Object.c',
|
||||
'api2_2x/NMesh.c',
|
||||
'api2_2x/Material.c',
|
||||
'api2_2x/Camera.c',
|
||||
'api2_2x/World.c',
|
||||
'api2_2x/Lamp.c',
|
||||
'api2_2x/Lattice.c',
|
||||
'api2_2x/Curve.c',
|
||||
'api2_2x/Armature.c',
|
||||
'api2_2x/Bone.c',
|
||||
'api2_2x/Ipo.c',
|
||||
'api2_2x/Ipocurve.c',
|
||||
'api2_2x/BezTriple.c',
|
||||
'api2_2x/Metaball.c',
|
||||
'api2_2x/Effect.c',
|
||||
'api2_2x/Particle.c',
|
||||
'api2_2x/Wave.c',
|
||||
'api2_2x/Build.c',
|
||||
'api2_2x/Image.c',
|
||||
'api2_2x/Window.c',
|
||||
'api2_2x/Draw.c',
|
||||
'api2_2x/BGL.c',
|
||||
'api2_2x/Text.c',
|
||||
'api2_2x/Texture.c',
|
||||
'api2_2x/MTex.c',
|
||||
'api2_2x/vector.c',
|
||||
'api2_2x/constant.c',
|
||||
'api2_2x/matrix.c',
|
||||
'api2_2x/rgbTuple.c',
|
||||
'api2_2x/gen_utils.c',
|
||||
'api2_2x/EXPP_interface.c']
|
||||
|
||||
python_env.Append (CPPPATH = ['api2_2x',
|
||||
'../blenkernel',
|
||||
'../blenlib',
|
||||
'../makesdna',
|
||||
'#/intern/guardedalloc',
|
||||
'#/intern/bmfont',
|
||||
'../imbuf',
|
||||
'../include',
|
||||
python_include])
|
||||
|
||||
python_env.Append (CPPPATH = extra_includes)
|
||||
python_env.Library (target='#/lib/blender_python', source=source_files)
|
||||
Reference in New Issue
Block a user