Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2007-03-15 22:24:17


Fabien Chêne wrote:
> Phillip Seaver <phil_at_[hidden]> writes:
>
> [...]
>
>>>> I haven't tested it, but would this work?
>>>>
>>>> install dist-hpp : toto
>>>> : <install-dependencies>on <install-type>HPP <location>include ;
>>>>
>>>> install dist-cpp : toto
>>>> : <install-dependencies>on <install-type>CPP <location>src ;
>>>>
>>>> install dist : toto
>>>> : <install-dependencies>on <install-type>LIB <location>lib ;
>>>>
>>>>
>>> Thanks for your answer,
>>>
>>> I like this syntax, but, unfortunately, it doesn't work for me :-(
>>> It only installs the library, not the CPP and HPP files. Any ideas
>>> about what's going wrong ?
>>>
>>> Thanks,
>>>
>> 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.

By the way, I'm not one of the developers, I'm just someone who uses it
a lot. :-) Perhaps one of them could help.

Phillip


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