|
Boost-Build : |
From: Fabien Chêne (fabien.chene_at_[hidden])
Date: 2007-03-17 08:32:32
Phillip Seaver <phil_at_[hidden]> writes:
[...]
>>> The only thing that comes to mind immediately is that you're running
>>> "bjam dist" which would not do "dist-cpp" and "dist-hpp". You might be
>>> able to add "dist-cpp" and "dist-hpp" as dependencies of "dist" like:
>>>
>>> install dist : toto dist-hpp dist-cpp
>>> : <install-dependencies>on <install-type>LIB <location>lib ;
>>>
>>
>> I try that, but again, it doesn't work :-(
>> Again, it only installs the library.
>>
>> Please tells me if bjam -n -d[1-13] commands can help, I can post
>> their outputs.
>>
>>
>>> I'll look at it tonight when I have more free time, if that doesn't work
>>> for you. I've done something similar in the past, so I think it's able
>>> to be done.
>>>
>>
>> Glad to see that there's an issue ! Thanks.
>
> I was hoping I could see something obvious that I missed when I had a
> chance to play with it, but I'm not sure why it's not working. It might
> be because the cpp file is an intermediate target rather than a
> top-level target, but I don't know enough about the internals to figure
> it out.
Seems to me that you're wright. I try to add a top-level target
foo.cpp, which depends on foo.hpp. Then, I think foo.hpp is treated as
an intermediate target. The result is that foo.cpp is installed in
./src, but foo.hpp is not installed in ./include.
I would be strongly interested in a response from a bbv2 developper if
there's an issue, if it is intended (not) to work, if something is missing,
if it will work in a near future, etc.
> By the way, I'm not one of the developers, I'm just someone who uses
> it a lot. :-)
I'm just someone trapped in my old style classic jam rules, and I
despair to be able to move to bbv2 with much simpler and powerful
rules.
Phillip, your answers were helpful, thanks.
-- Fab
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