Mercurial > fife-parpg
view build/freebsd8-config-dist.py @ 646:07b1cf8e92b5
* Major improvements to fife_math.h and added corresponding Python bindings. Users now have access to FIFE's internal math functions. These functions are recommended to be used by all clients if required. Note: this may cause some problems with certain compilers. I hope this wont have to be reverted. TODO: remove the static constant globals somehow.
* Adopted the new math functions for all subsystems
* Improvements to DeviceCaps. It now detects all possible screen modes.
* User can now select 0 for their bpp and it will attempt to initialize SDL with the current screen bpp.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 13 Oct 2010 20:24:48 +0000 |
parents | fe6fb0e0ed23 |
children |
line wrap: on
line source
# Needed pkg-config additions: # SDL_ttf & SDL_image # guichan, guichan_opengl & guichan_sdl # boost_filesystem & boost_regex # vorbisfile # openal import sys def initEnvironment(env): return env def addExtras(context): context.env.Append(CPPPATH = ['/usr/local/include/vorbis']) context.checkSimpleLib(['vorbisfile'], 'vorbisfile.h') context.checkSimpleLib(['openal'], 'AL/al.h') context.checkSimpleLib(['sdl11', 'sdl12', 'sdl'], 'SDL.h') context.checkSimpleLib(['SDL_ttf'], 'SDL_ttf.h') context.checkSimpleLib(['SDL_image'], 'SDL_image.h') context.checkSimpleLib(['guichan']) context.checkSimpleLib(['guichan_sdl']) context.checkSimpleLib(['boost_filesystem']) context.checkSimpleLib(['boost_regex']) context.checkSimpleLib(['xcursor']) context.checkSimpleLib(['png'], 'png.h') if context.env['opengl']: context.env.Append(LIBS = ['GL', 'GLU']) context.env.Append(CPPPATH = ['/usr/local/include']) context.env.Append(LIBPATH = ['/usr/local/lib']) context.checkSimpleLib(['guichan_opengl']) # For swig/python: context.env.Append(CPPPATH = ['/usr/local/include/python%s'%sys.version[:3]])