|
Boost-Build : |
Subject: [Boost-build] adding <include> path when creating .h file
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2010-03-03 15:32:25
In my project I have a file, config.h, that should be generated from
config.h.php. My jamfile looks like this:
make config.h : config.h.php : @run-php ;
exe myEXE : config.h a.cpp ... ;
I ran bjam with VC 2005, and bjam put the generated config.h at
Bin/gui/msvc-8.0/debug/link-static/runtime-link-static/thread-multi
All object files are under
Bin/gui/msvc-8.0/debug/link-static/runtime-link-static/thread-multi/user
-interface-gui
In the .rsp file generated, the header include path has
"-I..\bin\gui\msvc-8.0\debug\link-static\runtime-link-static\threading-m
ulti\user-interface-gui"
But it does not contain the path to its parent directory. The compiler
complained that it could not locate config.h.
How can I solve the problem?
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