Update of /cvsroot/boost/boost/libs/test/build
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31263/libs/test/build
Modified Files:
Jamfile.v2
Log Message:
Allow building of shared versions of some Boost.Test libraries.
Adjust tests to use always use static linking to Boost.Test, since
linking to the shared version requires test changes.
Patch from Juergen Hunold.
Index: Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/test/build/Jamfile.v2,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Jamfile.v2 17 Apr 2006 09:39:56 -0000 1.11
+++ Jamfile.v2 10 Nov 2006 19:09:56 -0000 1.12
@@ -6,10 +6,17 @@
project boost/test
: source-location ../src
- : requirements <define>BOOST_TEST_NO_AUTO_LINK=1
- <os>NT:<link>static
+ : requirements <link>shared:<define>BOOST_TEST_DYN_LINK=1
<toolset>msvc:<asynch-exceptions>on
<toolset>borland:<cxxflags>-w-8080
+ # Disable Warning about boost::noncopyable not being exported
+ <link>shared,<toolset>msvc:<cxxflags>-wd4275
+ : usage-requirements
+ <define>BOOST_TEST_NO_AUTO_LINK=1
+ <link>shared:<define>BOOST_TEST_DYN_LINK=1
+
+ # Disable Warning about boost::noncopyable not being
exported
+ <link>shared,<toolset>msvc:<cxxflags>-wd4275
;
PRG_EXEC_MON_SOURCES =
@@ -59,7 +66,7 @@
lib boost_prg_exec_monitor : $(PRG_EXEC_MON_SOURCES).cpp ;
-lib boost_test_exec_monitor : $(TEST_EXEC_MON_SOURCES).cpp ;
+lib boost_test_exec_monitor : $(TEST_EXEC_MON_SOURCES).cpp : <link>static ;
lib boost_unit_test_framework : $(UTF_SOURCES).cpp ;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs