Mercurial > fife-parpg
view build/win32-config-dist.py @ 371:3827b510546f
Editor:
* Plugins will be loaded by default, so users do not have to edit their configuration files each time they install a plugin
* Changed the object selector so it does not autoscroll when the user manually picks an object from the list
author | cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 20 Nov 2009 00:03:39 +0000 |
parents | 5ab78cd39534 |
children |
line wrap: on
line source
import os def initEnvironment(env): env = env.Copy(tools = ['mingw']) return env #Note, if you aren't running from the batch file, you should set an environment variable _ to hold the path to the libraries def addExtras(context): path = os.environ['_'] includepath = path + '\\..\\..\\includes' staticlibpath = path + '\\..\\..\\static_libs\\mingw' context.env.Append(CPPPATH = [includepath + '\\libogg', includepath + '\\openal', includepath + '\\sdl_image', includepath + '\\zlib', includepath + '\\libguichan', includepath + '\\boost_1_38_0', includepath + '\\libvorbis', includepath + '\\libpng', includepath + '\\sdl_ttf', includepath + '\\sdl', includepath + '\\python26', includepath + '\\unittest++']) context.env.Append(LIBPATH = [staticlibpath, staticlibpath + '\\python26']) context.env.Append(LIBS = ['libguichan_sdl', 'libguichan', 'mingw32', 'zlib', 'vorbis', 'ogg', 'vorbisfile', 'libpng', 'SDL_image', 'SDLmain', 'SDL.dll', 'OpenAL32', 'SDL_ttf', 'boost_filesystem', 'boost_regex', 'boost_system', 'python26']) if context.env['opengl']: context.env.Prepend(LIBS = ['libguichan_opengl']) context.env.Append(LIBS = ['opengl32', 'glu32'])