fabien.chene gmail.com (Fabien Chêne) writes:
> Phillip Seaver <phil apago.com> 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.
Reading The Fine Manual, the install rule installs sources
and
dependencies. So I need to treat foo.hpp as a dependency.
Not sure
this is doable for the bison rule ; I will try to do that in
an other
rule than bison, when I have enough time. Seems to me that
it is
doable ...
--
Fab
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|