Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-10-04 03:51:29


Hi !

On Sunday 03 October 2004 19:37, Aleksey Gurtovoy wrote:
> First of all, thanks to everybody who responded to my original
> request. Things are looking better now, but we still have some way to

> build
> -----

> I'll take care of these two myself, but somebody from the Boost.Build
> camp needs to look/comment on these:
>
> tools/build/v2/test/railsys/libx/include/libx/test_libx.h: file's directory
> depth exceeds 8 levels

Oops, I did not know that some platform has such a low limit.

Volodya, I think we could reduce the path to read

tools/build/v2/test/railsys/libx/include/test_libx.h

by simply moving test_libx.h one directory up.

And then apply the patch attached.

It fixes:

* the built-in dependency on stlport (this is not what it should test ;-)
* removes inheritance from Qt's QObject and removes Qt dependency...
* corrects the library-dependency (program uses libx)

You can even remove the "<threading>multi" requirements because the test
should only test that program is dependant on libx...

Yours,
Jürgen

-- 
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover 
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
 --Boundary-00=_R8QYBxbJxhLJGcx Content-Type: text/x-diff;
charset="iso-8859-1";
name="railsys.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="railsys.diff"
? railsys/libx/include/test_libx.h
cvs diff: Diffing railsys
cvs diff: Diffing railsys/libx
cvs diff: Diffing railsys/libx/include
cvs diff: Diffing railsys/libx/include/libx
cvs diff: cannot find railsys/libx/include/libx/test_libx.h
cvs diff: Diffing railsys/libx/src
Index: railsys/libx/src/test_libx.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/test/railsys/libx/src/test_libx.cpp,v
retrieving revision 1.3
diff -u -3 -p -r1.3 test_libx.cpp
--- railsys/libx/src/test_libx.cpp	11 Sep 2004 12:12:38 -0000	1.3
+++ railsys/libx/src/test_libx.cpp	4 Oct 2004 08:46:51 -0000
@@ -8,7 +8,7 @@
#define LIBX_SOURCE
-#include <libx/test_libx.h>
+#include <test_libx.h>
TestLibX::TestLibX()
{
cvs diff: Diffing railsys/program
Index: railsys/program/Jamfile
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/test/railsys/program/Jamfile,v
retrieving revision 1.4
diff -u -3 -p -r1.4 Jamfile
--- railsys/program/Jamfile	10 Oct 2003 12:49:06 -0000	1.4
+++ railsys/program/Jamfile	4 Oct 2004 08:46:51 -0000
@@ -26,11 +26,9 @@ project program
: requirements 
<include>$(BOOST_ROOT)
<threading>multi
- <library>/qt//qt
<hardcode-dll-paths>true
- <stdlib>stlport
<use>/libx
-# <dependency>../libx/src
+ <library>/libx//libx
: usage-requirements 
<include>$(BOOST_ROOT)
@@ -38,7 +36,6 @@ project program
default-build release
<threading>multi
<library>/qt//qt
- <stdlib>stlport
<hardcode-dll-paths>true
;
cvs diff: Diffing railsys/program/include
cvs diff: Diffing railsys/program/liba
Index: railsys/program/liba/test_a.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/test/railsys/program/liba/test_a.cpp,v
retrieving revision 1.3
diff -u -3 -p -r1.3 test_a.cpp
--- railsys/program/liba/test_a.cpp	11 Sep 2004 12:12:38 -0000	1.3
+++ railsys/program/liba/test_a.cpp	4 Oct 2004 08:46:51 -0000
@@ -8,7 +8,7 @@
#include "../include/test_a.h"
-#include <libx/test_libx.h>
+#include <test_libx.h>
TestA::TestA()
{
cvs diff: Diffing railsys/program/main
Index: railsys/program/main/main.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/test/railsys/program/main/main.cpp,v
retrieving revision 1.3
diff -u -3 -p -r1.3 main.cpp
--- railsys/program/main/main.cpp	11 Sep 2004 12:12:38 -0000	1.3
+++ railsys/program/main/main.cpp	4 Oct 2004 08:46:51 -0000
@@ -8,7 +8,7 @@
#include "../include/test_a.h"
-#include <libx/test_libx.h>
+#include <test_libx.h>
int main()
{
 --Boundary-00=_R8QYBxbJxhLJGcx-- 

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