Opened 17 years ago
Closed 17 years ago
#472 closed Bugs (Invalid)
bjam HDRS rule in python tutorial compilation
| Reported by: | ljo_ | Owned by: | david_abrahams |
|---|---|---|---|
| Milestone: | Component: | python USE GITHUB | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
When I set HDRS to a value it has no effect. It always produces the value -I"bin/boost" or -I"bin/tutorial". When checked with "-d+7" you can see that the original value is overwritten halfway in the process. As far as I can see nobody uses HDRS in a Boost Jamfile.
Change History (3)
comment:2 by , 17 years ago
Logged In: YES
user_id=1335326
Searching in the bjam documentation for a means to set my
own extra include files, I found this in
"http://www.boost.org/tools/build/jam_src/Jambase.html":
Jambase Rules
...
HDRS
Directories to be searched for header files. This is used by
the Object rule to: set up search paths for finding files
returned by header scans add -I flags on compile commands
When I tried to set it in the Jamfile with a line:
HDRS = path ;
It did not do what I expected (An extra '-I path' in the gcc
command). Did I misunderstand the rule (or all of bjam)?
comment:3 by , 17 years ago
| Status: | assigned → closed |
|---|
Logged In: YES user_id=52572 This is not a bug. To set your own extra include files, please add <include>some/path to the BUILD variable on your bjam command-line. For example, bjam "-sBUILD=<include>/usr/local/foobar/include" ...
Note:
See TracTickets
for help on using tickets.
