|
Boost-Build : |
Subject: [Boost-build] Question about calling rules from within a generator
From: Thomas Brown (tabsoftwareconsulting_at_[hidden])
Date: 2019-04-01 20:31:43
I was trying to use the assert module to check various assumptions
within my custom generator class when I found it is not possible to
call those rules. This is also true of other user-defined rules
within the same file as the generator. Is this expected?
See the attached file for a minimal example that shows the issue. The
project will run correctly after commenting out the call to
`assert.true` in `g.jam`.
Best,
Tom
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