From: Jordan Rosenthal (jr_at_[hidden])
Date: 2005-11-04 10:12:06
I'm trying to create a toolset. I would like the toolset to be able to
create an object file in the current project's root out of a file that
exists somewhere else on the system.
So I put the following in mytoolset.jam file (along with a bunch of
other stuff which I'm omitting for brevity):
obj myobj : /somepath/to/target.c ;
rule myrule ( target : sources + )
myexe $(<) : $(>) /myproj//myobj : $(other_stuff) ;
I have a directory structure like:
The project-root.jam "includes" the toolset with the command:
using mytoolset ;
The subproject then tries to use the rule myrule. What I want to happen
is for myobj.o to be placed in /pth/to/toplevel/gcc/debug/<etc>/.
What I get is:
mkdir: cannot create directory '/gcc'
It seems as if it is trying to put the object at the root of my
filesystem instead of the root of my project.
How can I fix this? Any help is appreciated.
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