Added cutter to scons build.

This commit is contained in:
Eric S. Raymond 2008-03-23 05:36:25 +00:00
parent 74ba90c370
commit 9f0ddf215d
2 changed files with 13 additions and 2 deletions

View File

@ -60,7 +60,7 @@ SConscript('src/SConstruct', exports='env')
Help("""\
Available build targets include:
all wesnoth wesnoth_editor wesnothd campaignd exploder
all wesnoth wesnoth_editor wesnothd campaignd exploder cutter
The 'install' target installs whatever you currently have built.
If you have built tools and Python is available the Python helper modules

View File

@ -1,7 +1,7 @@
Import('env')
all = env.Alias("all", ["wesnoth", "wesnoth_editor", "wesnothd", "campaignd",
"exploder"])
"cutter", "exploder"])
env.Default("all")
#
@ -219,6 +219,17 @@ env.Program("wesnothd", wesnothd_sources,
LIBS = ['wesnoth_core', 'wesnothd'] + commonlibs,
LIBPATH = [".", "/lib", "/usr/lib"])
cutter_sources = [
"tools/cutter.cpp",
"tools/exploder_utils.cpp",
"tools/exploder_cutter.cpp",
"tools/dummy_video.cpp",
]
env.Program("cutter", cutter_sources,
CPPPATH = ['.', "/usr/include/SDL"],
LIBS = ['wesnoth_core', 'wesnoth_sdl', 'wesnothd'] + commonlibs,
LIBPATH = [".", "/lib", "/usr/lib"])
exploder_sources = [
"tools/exploder.cpp",
"tools/exploder_utils.cpp",