Mercurial > fife-parpg
view build/win32-config-dist.py @ 194:9631a2958851
* Object selector can now be toggled to use either the old list format or show preview images.
* Fixed a small bug in ScrollArea.removeChild() fife.ScrollArea.setContent(None) does not work,
so the client would crash on calling that function.
I now set an empty pychan.Container. There might be a better way to do this.
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 01 Mar 2009 10:59:17 +0000 |
parents | fa33cda75471 |
children | 80b3c41c3427 |
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\\mingw' staticlibpath = path + '\\..\\..\\static_libs\\mingw' context.env.Append(CPPPATH = [includepath + '\\libogg', includepath + '\\openal', includepath + '\\sdl_image', includepath + '\\zlib', includepath + '\\libguichan', includepath + '\\boost_1_35_0', includepath + '\\libvorbis', includepath + '\\libpng', includepath + '\\sdl_ttf', includepath + '\\sdl', includepath + '\\python25', includepath + '\\unittest++']) context.env.Append(LIBPATH = [staticlibpath, staticlibpath + '\\python25']) 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', 'python25']) if context.env['opengl']: context.env.Prepend(LIBS = ['libguichan_opengl']) context.env.Append(LIBS = ['opengl32', 'glu32'])