Opened 7 years ago

Last modified 6 years ago

#5883 new Bugs

Neither <dependency> nor <use> works on prebuilt library targets

Reported by: anonymous Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc: flast@…


For example, suppose I have a jamroot file as follows;

run test.cpp : : : : ;
explicit ;

lib gmp : : <dependency> ;
explicit gmp ;

exe main.exe : gmp main.cpp ;
explicit main.exe ;

Here, I just expect that <dependency> feature on the lib target introduces a dependency on the target. However, command line invocation like

bjam main.exe

pulls neither the build nor run of at all, and only main.exe is built.

Change History (1)

comment:1 Changed 6 years ago by Kohei Takahashi <flast@…>

Cc: flast@… added
Note: See TracTickets for help on using tickets.