Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48904 - trunk/libs/test/tools/console_test_runner
From: gennadiy.rozental_at_[hidden]
Date: 2008-09-19 14:53:41


Author: rogeeff
Date: 2008-09-19 14:53:41 EDT (Fri, 19 Sep 2008)
New Revision: 48904
URL: http://svn.boost.org/trac/boost/changeset/48904

Log:
another attempt on portable link command
Text files modified:
   trunk/libs/test/tools/console_test_runner/Jamfile.v2 | 23 +++++++++++++++--------
   1 files changed, 15 insertions(+), 8 deletions(-)

Modified: trunk/libs/test/tools/console_test_runner/Jamfile.v2
==============================================================================
--- trunk/libs/test/tools/console_test_runner/Jamfile.v2 (original)
+++ trunk/libs/test/tools/console_test_runner/Jamfile.v2 2008-09-19 14:53:41 EDT (Fri, 19 Sep 2008)
@@ -7,25 +7,32 @@
 
 # Project
 project libs/test/tools/console_test_runner ;
-import os ;
 
 alias unit_test_framework
     : # sources
         /boost//unit_test_framework
     ;
 
+alias test_runner_src
+ : # sources
+ src/console_test_runner.cpp
+ unit_test_framework
+ ;
+
 # make aliases explicit so the libraries will only be built when requested
 explicit unit_test_framework ;
+explicit test_runner_src ;
 
-if [ os.name ] != NT
-{
- lib dl ;
-}
-
+lib dl ;
 
 lib test_runner_test : test/test_runner_test.cpp unit_test_framework ;
 
 exe console_test_runner
- : src/console_test_runner.cpp unit_test_framework
- : <os>LINUX:<library>dl
+ : test_runner_src
+ dl
+ ;
+
+exe console_test_runner
+ : test_runner_src
+ : <target-os>windows
     ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk