Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-26 07:39:27


Hi Jürgen,

> 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.

This makes sense for me. Just make sure the motivation is specified as a
comment.

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

Since "qt" is the module "qt-dir" is reduntant. "directory" is fine for me.

> Opinions ?
>
> And, could we get this in 1.32 ?

Sure, if you send a patch I'll apply this and include in M10, and after M10is
released I'll merge it to RC branch.

- Volodya

 


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