mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 09:43:16 +00:00
Added cutter to scons build.
This commit is contained in:
parent
74ba90c370
commit
9f0ddf215d
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user