comparison build/win32-config-dist.py @ 370:5ab78cd39534

* Updated win32 build files for the new November 2009 Win32 DevKit * The old Win32 compile SDK 2008.1-r1 will NOT work with future revisions, starting with 3073 * For details, check this article that also contains the download links: http://fifengine.de/2009/11/16/new-fife-win32-devkit-available/ * Thanks to Cheesesucker for providing the installer version as well as for a bunch of smaller fixes to the build scripts
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 16 Nov 2009 12:29:29 +0000
parents 80b3c41c3427
children
comparison
equal deleted inserted replaced
369:a93b21b8d0e7 370:5ab78cd39534
5 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 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 7
8 def addExtras(context): 8 def addExtras(context):
9 path = os.environ['_'] 9 path = os.environ['_']
10 includepath = path + '\\..\\..\\includes\\mingw' 10 includepath = path + '\\..\\..\\includes'
11 staticlibpath = path + '\\..\\..\\static_libs\\mingw' 11 staticlibpath = path + '\\..\\..\\static_libs\\mingw'
12 12
13 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 + '\\python25', includepath + '\\unittest++']) 13 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++'])
14 context.env.Append(LIBPATH = [staticlibpath, staticlibpath + '\\python25']) 14 context.env.Append(LIBPATH = [staticlibpath, staticlibpath + '\\python26'])
15 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']) 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', 'python26'])
17 17
18 if context.env['opengl']: 18 if context.env['opengl']:
19 context.env.Prepend(LIBS = ['libguichan_opengl']) 19 context.env.Prepend(LIBS = ['libguichan_opengl'])
20 context.env.Append(LIBS = ['opengl32', 'glu32']) 20 context.env.Append(LIBS = ['opengl32', 'glu32'])