Subject: [Boost-build] Install rule and default-build
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2010-06-10 17:30:49
It seems that the install rule does not handle default build settings
like other rules do. I currently have this install rule which works fine.
explicit install ;
Where converters is a list of executables, and project names is a string.
Now if I want to make this a default-build setting (so I can perhaps
override it from a higher Jamfile) like so:
explicit install ;
I get the following error when running "bjam release install":
feature.validate-value-string from module feature
error: "release:<location>Release/tdi-converters" is not a known value
of feature <variant>
error: legal values: "debug" "release" "profile" "debug-python" "production"
/usr/share/boost-build/build/property.jam:267: in validate1 from module
/usr/share/boost-build/build/property.jam:290: in property.validate from
property-set.create-with-validation from module property-set
targets.main-target-default-build from module targets
/usr/share/boost-build/tools/stage.jam:488: in install from module stage
Jamfile:85: in modules.load from module
/usr/share/boost-build/build/project.jam:312: in load-jamfile from
/usr/share/boost-build/build/project.jam:68: in load from module project
/usr/share/boost-build/build/project.jam:170: in project.find from
/usr/share/boost-build/build-system.jam:248: in load from module
/usr/share/boost-build/kernel/modules.jam:261: in import from module modules
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build from module
/home/AFoglia/projects/asa/trunk/boost-build.jam:7: in module scope from
Shouldn't moving a requirement to default-build not break anything as
long as I don't try to override it?
-- Anthony Foglia Princeton Consultants (609) 987-8787 x233
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