Author: loonycyborg
Date: Sun Mar 25 12:37:50 2012
New Revision: 53656
URL: http://svn.gna.org/viewcvs/wesnoth?rev=53656&view=rev
Log:
Added 'create_images' target to scons.
Modified:
trunk/src/SConscript
Modified: trunk/src/SConscript
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConscript?rev=53656&r1=53655&r2=53656&view=diff
==============================================================================
--- trunk/src/SConscript (original)
+++ trunk/src/SConscript Sun Mar 25 12:37:50 2012
@@ -601,6 +601,17 @@
test = test_env.WesnothProgram("test", test_sources + [libwesnoth_extras,
libwesnoth_core, libwesnoth_sdl, libwesnoth, libwesnoth_extras, libtest_utils],
have_test_prereqs)
+create_images_sources = Split("""
+ tests/create_images.cpp
+ tools/dummy_video.cpp
+ tools/exploder_utils.cpp
+ sdl_utils.cpp
+ tracer.cpp
+ loadscreen_empty.cpp
+""")
+
+env.WesnothProgram("create_images", create_images_sources + [libwesnoth_core],
have_server_prereqs, OBJPREFIX = "create_images_", LIBS = ["$LIBS", "png"])
+
if env["svnrev"] != "" and env["svnrev"] != "exported":
revision_define = "#define REVISION \"%s\"\n" % env["svnrev"]
env.Command("#/src/revision.hpp", Value(env["svnrev"]), Action(
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits