From: Sara Collins (bkhn41_at_[hidden])
Date: 2005-02-03 13:09:12
> I've just tried the example which was sent me back
then, and it works. Any
> change you can provide me with a testcase? You can
also try creating file
> foo.jam, define your feature there and "import foo
;" in project-root.jam
Ok, so after a while, I was able to simplify my
project and reproduce it.
My directory structure looks like this:
| + project-root.jam
| + Jamfile
| +- sub
| | +- Jamfile
| | +- subLib.cpp
| | +- a.cpp
My feature/project-root.jam is:
import feature : feature ;
import modules ;
path-constant TOP : . ;
path-constant SUB : sub ;
use-project /sub : $(SUB) ;
feature release : none apply devel : composite ;
feature.compose <release>apply :
feature.compose <release>devel :
My feature/Jamfile is:
project release ;
lib apply : : <name>apply ;
lib devel : : <name>release ;
My feature/sub/Jamfile is:
project sub ;
lib subLib : subLib.cpp ;
exe subTest : a.cpp ;
subLib.cpp and a.cpp are just empty cpp source files.
Bjam output is:
C:/Boost/boost-build/build\feature.jam:127: in feature
from module feature
error: feature already defined:
error: in feature declaration:
error: feature "release" : "none" "apply" "devel" :
..\project-root.jam:9: in modules.load from module
If I comment out "use-project /sub : $(SUB) ;" in
project-root.jam, then everything runs fine.
Something's not right when it tries to set the path
I attached feature.zip with the mail. I hope you can
help me figure this out.
Thanks a lot.
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail --0-1673530604-1107454152=:59118 Content-Type: application/x-zip-compressed; name="feature.zip"
Content-Disposition: attachment; filename="feature.zip"
[Attachment content not displayed.] --0-1673530604-1107454152=:59118--
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