Added support for lua to scons.

This commit is contained in:
Sergey Popov 2009-03-22 19:34:20 +00:00
parent e24d85c5d9
commit afa0a16dd6
2 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,7 @@ if env["prereqs"]:
have_client_prereqs = have_server_prereqs and \
conf.CheckPango("cairo") and \
conf.CheckPKG("fontconfig") and \
(conf.CheckPKG("lua '>=' 5.1") or conf.CheckPKG("lua5.1 '>=' 5.1")) and \
conf.CheckBoost("regex") and \
conf.CheckSDL("SDL_ttf", require_version = "2.0.8") and \
conf.CheckSDL("SDL_mixer", require_version = '1.2.0') and \

View File

@ -189,6 +189,7 @@ wesnoth_sources = Split("""
portrait.cpp
replay.cpp
replay_controller.cpp
scripting/lua.cpp
sha1.cpp
settings.cpp
statistics.cpp