mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 03:26:51 +00:00
add python (same as in trunk)
This commit is contained in:
parent
fcb684af96
commit
e061a5dc03
@ -11,19 +11,23 @@ env = Environment()
|
||||
env["CC"] = "i586-mingw32msvc-gcc"
|
||||
env["CXX"] = "i586-mingw32msvc-g++"
|
||||
|
||||
# Dependencies: SDL, SDL_net, SDL_mixer, SDL_image, freetype, libintl
|
||||
# Dependencies: SDL, SDL_net, SDL_mixer, SDL_image, freetype, libintl, python
|
||||
# This is where I put the dependency headers
|
||||
env.Append(CPPPATH = ["../win-deps/include"])
|
||||
|
||||
# This is where I put the python headers. Also linux headers work, so you
|
||||
# may put here "/usr/include/python24" for a typical linux distribution.
|
||||
env.Append(CPPPATH = ["../win-deps/include/python24"])
|
||||
|
||||
# This is where I put the dependency libs
|
||||
env.Append(LIBPATH = ["../win-deps/lib"])
|
||||
|
||||
# Compilation settings
|
||||
env.Append(CCFLAGS = ["-O2", "-mthreads"])
|
||||
env.Append(CCFLAGS = ["-O2", "-mthreads", "-DHAVE_PYTHON"])
|
||||
env.Append(LINKFLAGS = ["-s", "-mwindows", "-lmingwthrd"])
|
||||
env.Append(CPPPATH = ["src", "src/widgets"])
|
||||
env.Append(LIBS = ["mingw32", "SDLmain", "SDL", "SDL_net", "SDL_mixer", "SDL_image",
|
||||
"intl", "wsock32", "freetype"])
|
||||
"intl", "wsock32", "freetype", "python24"])
|
||||
|
||||
# Scons stuff
|
||||
env.BuildDir("../build", "src")
|
||||
|
Loading…
x
Reference in New Issue
Block a user