Most of the way (though not all) to getting the test target to build.
This commit is contained in:
parent
40462d1d5e
commit
b6af620a56
1 changed files with 3 additions and 2 deletions
|
@ -488,13 +488,14 @@ env.Program("exploder", exploder_sources,
|
|||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue