|
Boost-Build : |
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-08-22 21:26:30
Rob Stewart wrote:
> Rene Rivera wrote:
>>http://thread.gmane.org/gmane.comp.lib.boost.user/12814
>
> I tried changing line 83 from:
>
> [ unless $(NT) :
>
> to:
>
> [ if ! $(NT) && ( ! $(UNIX) || $(OS) != $(CYGWIN) )
>
> as well as:
>
> [ if ! $(NT) && ( ! $(UNIX) || $(OS) != CYGWIN )
>
> Neither worked. With the latter, I got this output:
Grr, sorry about that. I had not had a chance to look closely at the
thread I pointed you to, to realize the solutions did not work. I've
fixed it in CVS, in both HEAD and RC_1_33_0, with this change:
===================================================================
RCS file: /cvsroot/boost/boost/libs/test/build/Jamfile,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- Jamfile 2 May 2005 06:25:06 -0000 1.18
+++ Jamfile 23 Aug 2005 02:15:41 -0000 1.19
@@ -66,8 +66,14 @@
lib boost_unit_test_framework : <template>boost_test_lib
../src/$(UTF_SOURCES).cpp ;
+local TEST_DLLs ;
if ! $(NT) && ( ! $(UNIX) || $(OS) != CYGWIN )
{
+ TEST_DLLs = TRUE ;
+}
+
+if $(TEST_DLLs)
+{
dll boost_prg_exec_monitor : <template>boost_test_lib
../src/$(PRG_EXEC_MON_SOURCES).cpp ;
@@ -80,7 +86,7 @@
install test lib
:
- [ unless $(NT) :
+ [ cond $(TEST_DLLs) :
<dll>boost_prg_exec_monitor
<dll>boost_test_exec_monitor
<dll>boost_unit_test_framework ]
@@ -91,7 +97,7 @@
stage stage/lib
:
- [ unless $(NT) :
+ [ cond $(TEST_DLLs) :
<dll>boost_prg_exec_monitor
<dll>boost_test_exec_monitor
<dll>boost_unit_test_framework ]
===================================================================
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
Boost-Build 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