|
Boost-Build : |
From: Kostas Kostiadis (kos_at_[hidden])
Date: 2006-12-11 07:17:29
I'm having similar trouble trying to install an executable together with the
data that it needs...
Say we have myApp.exe and data.xml and we want them both to be installed in
./bin
If I do:
install ./bin : myApp data.xml
: <install-dependencies>on <install-type>EXE
;
It only installs myApp.exe (and ignores data.xml).
If I do
install ./bin : data.xml ;
It quite happily does "common.copy bin\data.xml"
If I have 2 "install ./bin" lines (i.e.
install ./bin : myApp
: <install-dependencies>on <install-type>EXE
;
install ./bin : data.xml ;
As you'd exepct it gives the following error:
error: No best alternative for ././bin
next alternative: required properties: (empty)
matched
next alternative: required properties: (empty)
matched
Any idea how I can install my EXE together with the data it needs?
Cheers,
Kos
-----Original Message-----
From: boost-build-bounces_at_[hidden]
[mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: 06 December 2006 05:54
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] Install arbitrary files?
On Wednesday 06 December 2006 05:40, Deane Yang wrote:
> In the documentation of Boost Build v2 (specifically,
>
>
http://boost.sourceforge.net/boost-build2/doc/html/bbv2/tasks/installing.htm
l
>
> )
>
> it states that the install rule can be used to install built target and
> arbitrary files. But I can't find any explanation for how to install an
> arbitrary file that does not correspond to any target type. For example,
> a *.txt file. Can someone tell me how to do this?
It would have helped if you provide a example project that does not work.
The following Jamroot
works fine for me:
install dist : a.txt ;
- Volodya
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build
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