mail[Wesnoth-commits] r25066 - /trunk/SConstruct


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by esr on March 24, 2008 - 15:16:
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.




Related Messages


Powered by MHonArc, Updated Mon Mar 24 18:02:24 2008