comparison build/win32-config-dist.py @ 0:4a0efb7baf70

* Datasets becomes the new trunk and retires after that :-)
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 29 Jun 2008 18:44:17 +0000
parents
children ab8b11adfb70
comparison
equal deleted inserted replaced
-1:000000000000 0:4a0efb7baf70
1 import os
2 def initEnvironment(env):
3 env = env.Copy(tools = ['mingw'])
4 return env
5
6 #Note, if you aren't running from the batch file, you should set an environment variable _ to hold the path to the libraries
7
8 def addExtras(context):
9 path = os.environ['_']
10 includepath = path + '\\..\\..\\includes\\mingw'
11 staticlibpath = path + '\\..\\..\\static_libs\\mingw'
12
13 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'])
14 context.env.Append(LIBPATH = [staticlibpath, staticlibpath + '\\python25'])
15
16 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'])
17
18 if context.env['opengl']:
19 context.env.Prepend(LIBS = ['libguichan_opengl'])
20 context.env.Append(LIBS = ['opengl32', 'glu32'])