Author: esr
Date: Mon Mar 24 15:16:41 2008
New Revision: 25066
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25066&view=rev
Log:
Most of the way (though not all) to getting the test target to build.
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25066&r1=25065&r2=25066&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Mon Mar 24 15:16:41 2008
@@ -488,13 +488,14 @@
LIBS = ['cutter', 'wesnoth_core', 'wesnoth_sdl', 'wesnothd',
'wesnoth'] + commonlibs,
LIBPATH = [".", "/lib", "/usr/lib"])
+# FIXME: test build presently fails at link time.
test_sources = [
"src/tests/main.cpp",
"src/tests/test_util.cpp",
]
env.Program("test", test_sources,
- CPPPATH = commonpath,
- LIBS = ['wesnoth_core', 'wesnoth_sdl', 'wesnothd'] + commonlibs,
+ CPPPATH = commonpath + ['/usr/include'],
+ LIBS = ['wesnoth_core', 'wesnoth_sdl', 'wesnothd'] + commonlibs +
['boost_unit_test_framework'],
LIBPATH = [".", "/lib", "/usr/lib"])
# FIXME: Include this in gameconfig.cpp when we switch over to scons.
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits