User-defined features vs. builtin features. #149
-
I am trying to add a local feature ( I have tried to work around this by adding the feature myself, but it does not seem to apply properly across the entire project. It sort of works, but not really. For something like Boost using the In my case, I have a B2 module that defines both additional values for existing features ( Is there a way to do this that I'm missing? I'd like to be able to add new features and values and have them apply across everything without having to update B2 directly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Using
You would have to repeat that for all the toolsets and features you support. Another, way more hackish way is possibly to add to the toolset module definitions. For example:
WARNING: That is totally off the cuff and untested code. |
Beta Was this translation helpful? Give feedback.
Using
toolset.add-requirements
is certainly one way to do it. Using it would look like:You would have to repeat that for all the toolsets and features you support. Another, way more hackish way is possibly to add to the toolset module definitions. For example:
WARNING: That is totally off the cuff and untested code.