Author: esr
Date: Sun Mar 23 06:36:25 2008
New Revision: 25004
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25004&view=rev
Log:
Added cutter to scons build.
Modified:
trunk/SConstruct
trunk/src/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25004&r1=25003&r2=25004&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Sun Mar 23 06:36:25 2008
@@ -60,7 +60,7 @@
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
Modified: trunk/src/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConstruct?rev=25004&r1=25003&r2=25004&view=diff
==============================================================================
--- trunk/src/SConstruct (original)
+++ trunk/src/SConstruct Sun Mar 23 06:36:25 2008
@@ -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 @@
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",
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits