Boost logo

Boost-Build :

From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-10-28 10:16:16


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

It seems that <include>include does not work as expected.

The attached file contain a snapshot of my test environment.
jam.txt contains output of bjam -n --v2.
I want the correct path to qtlib/include to appear in compiler command
line. I tried this with <include>include and <include>./include in
Jamfile. Both result in -I"/usr/include" be put on the command line,
as you can see in jam.txt.

The rest of the attached file be put in above qtlib-tree.

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/nohBljbJ/LLrxrYRAgUzAKCQcDcLjWDraHwB3RKdt63OJ3/TnACfX8q0
Siz4no4qtRILLAPhR4bdPxw=
=bXLh
-----END PGP SIGNATURE-----
 --Boundary-00=_Ahon/nOvEx3ypnG Content-Type: text/plain;
charset="iso-8859-15";
name="jam.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="jam.txt"

bjam Version 2
XXX
...found 111 targets...
...updating 8 targets...
qt.uic-h ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.h

/usr/local/gcc-3.3.2/qt-3.2.2/bin/uic qtlib/lib/gui/hello_world_widget.ui -o ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.h

gcc.compile.c++ ../../build/qtlib/app/bin/gcc/debug/threading-multi/main.o

g++ -x c++ -Wall -ftemplate-depth-100 -O0 -fno-inline -g -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SIGNALS_NAMESPACE=boost_signals -DDATE_TIME_INLINE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DQT_THREAD_SUPPORT -I"/ive/hunold/packages/boost" -I"/usr/include" -I"/usr/local/gcc-3.3.2/qt-3.2.2/include" -I"qtlib/include" -I"../../build/qtlib/app/bin/gcc/debug/threading-multi" -I"../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi" -c -o "../../build/qtlib/app/bin/gcc/debug/threading-multi/main.o" "qtlib/app/main.cpp"

qt.uic-cpp ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.cpp

/usr/local/gcc-3.3.2/qt-3.2.2/bin/uic qtlib/lib/gui/hello_world_widget.ui -i hello_world_widget.h -o ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.cpp

gcc.compile.c++ ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.o

g++ -x c++ -Wall -ftemplate-depth-100 -O0 -fno-inline -g -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SIGNALS_NAMESPACE=boost_signals -DDATE_TIME_INLINE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DQT_THREAD_SUPPORT -I"/ive/hunold/packages/boost" -I"/usr/include" -I"/usr/local/gcc-3.3.2/qt-3.2.2/include" -I"../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi" -c -o "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.o" "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.cpp"

qt.moc ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/moc_hello_world_widget.cpp

/usr/local/gcc-3.3.2/qt-3.2.2/bin/moc -f ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.h -o ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/moc_hello_world_widget.cpp

gcc.compile.c++ ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/moc_hello_world_widget.o

g++ -x c++ -Wall -ftemplate-depth-100 -O0 -fno-inline -g -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SIGNALS_NAMESPACE=boost_signals -DDATE_TIME_INLINE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DQT_THREAD_SUPPORT -I"/ive/hunold/packages/boost" -I"/usr/include" -I"/usr/local/gcc-3.3.2/qt-3.2.2/include" -I"../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi" -c -o "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/moc_hello_world_widget.o" "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/moc_hello_world_widget.cpp"

gcc.link.dll ../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/gui.so

g++ -g -L"/usr/lib/python2.2/config" -L"/usr/local/gcc-3.3.2/qt-3.2.2/lib" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/date_time/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/filesystem/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/python/build/bin/gcc/debug/threading-multi" -Wl,-rpath-Wl,"/ive/hunold/packages/boost/libs/regex/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/signals/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/test/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/thread/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/usr/local/gcc-3.3.2/qt-3.2.2/lib" -o "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/gui.so" -Wl,-soname,gui.so -shared "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/hello_world_widget.o" "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/moc_hello_world_widget.o" -Wl,-Bdynamic -lpthread -lpython2.2 -lqt-mt -Wl,-Bstatic -Wl,-Bdynamic -lpthread -lpython2.2 -lqt-mt -Wl,-Bstatic -Wl,-Bdynamic

gcc.link ../../build/qtlib/app/bin/gcc/debug/threading-multi/hello

g++ -g -L"/usr/lib/python2.2/config" -L"/usr/local/gcc-3.3.2/qt-3.2.2/lib" -Wl,-rpath -Wl,"/ive/hunold/build/qtlib/lib/gui/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/date_time/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/filesystem/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/python/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/regex/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/signals/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/test/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/ive/hunold/packages/boost/libs/thread/build/bin/gcc/debug/threading-multi" -Wl,-rpath -Wl,"/usr/local/gcc-3.3.2/qt-3.2.2/lib" -o "../../build/qtlib/app/bin/gcc/debug/threading-multi/hello" "../../build/qtlib/app/bin/gcc/debug/threading-multi/main.o" "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/gui.so" -Wl,-Bdynamic -lpthread -lpython2.2 -lqt-mt -Wl,-Bstatic "../../build/qtlib/lib/gui/bin/gcc/debug/threading-multi/gui.so" -Wl,-Bdynamic -lpthread -lpython2.2 -lqt-mt -Wl,-Bstatic -Wl,-Bdynamic

...updated 8 targets...
 --Boundary-00=_Ahon/nOvEx3ypnG Content-Type: text/plain;
charset="iso-8859-15";
name="project-root.jam"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="project-root.jam"

import gcc ;
import toolset ;

# Tell that QT should be used. QTDIR will give installation
# prefix.
toolset.using qt ;

#Alternatively, the prefix can be given as second argument
#toolset.using qt : /usr/share/qt ;

#toolset.flags qt.compile DEFINES <threading>multi : QT_THREAD_SUPPORT ;
 --Boundary-00=_Ahon/nOvEx3ypnG Content-Type: text/plain;
charset="iso-8859-15";
name="Jamfile"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Jamfile"

# ================================================================
#
# Railsys
# --------------
#
# Copyright (c) 2002 Institute of Transport,
# Railway Construction and Operation,
# University of Hanover, Germany
#
# 02/21/02! Jürgen Hunold
#
# $Id: Jamfile,v 1.2 2002/01/31 10:46:56 hunold Exp $
#
# ================================================================

local BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;

use-project /boost : $(BOOST_ROOT) ;

project src
: requirements
<library>/qt
<use>/boost
<threading>multi
<hardcode-dll-paths>true
# Qt-Defines
<define>QT_NO_COMPAT
<define>QT_CLEAN_NAMESPACE
<define>QT_NO_ASCII_CAST
<define>QT_THREAD_SUPPORT
# RailSys-Defines
: build-dir ../../build
: default-build
<library>/qt
<threading>multi
<hardcode-dll-paths>true
;

build-project qtlib ;
 --Boundary-00=_Ahon/nOvEx3ypnG Content-Type: text/plain;
charset="iso-8859-15";
name="boost-build.jam"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="boost-build.jam"

#BOOST_ROOT = $(.boost-build-file:D) ;
if --v2 in $(ARGV)
{
if $(JAM_VERSION:J="") < 030107
{
ECHO "error: Boost.Jam 3.1.7 or later required" ;
EXIT ;
}
else
{
ECHO "bjam Version 2" ;
# for CVS
boost-build ../../packages/boost/tools/build/v2/kernel ;
}
}
else
{
ECHO "bjam Version 1" ;
JAMFILE = Jamfile.v1 ;
boost-build ../packages/boost/tools/build/v1 ;
}

 --Boundary-00=_Ahon/nOvEx3ypnG Content-Type: application/x-tgz;
name="qtlib.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="qtlib.tar.gz"

[Attachment content not displayed.] --Boundary-00=_Ahon/nOvEx3ypnG--


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