Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-10-26 07:23:52


Hi !

I'd like to add the following to tools/qt.jam:

--- snip ---------------
# query the qt installation path
rule prefix { return $(.prefix) ; }
--- snap --------------

This makes it possible to write Jamfiles containing:
--- snip ---
import qt ;

local QTDIR = [ qt.prefix ] ;

exe mylinguist
:
$(QTDIR)/tools/linguist/shared/metatranslator.cpp
mysource.cpp
;
--- snap --------------
or
--- snip ---------------
lib myplugin
:
plugin.cpp
;

stage bin : myplugin : <location>$(QTDIR)/plugins/designer ;
--- snap --------------

I need the first to reach sources from the Qt-Tree and the second to
"install" custom widgets for qt designer.

I'm not sure if the rule should be better named "directory" or "qt-dir".

Opinions ?

And, could we get this in 1.32 ?

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
 

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