Subject: [Boost-build] Attaching a Jam target to the Boost Build Clean rule
From: Capeci, Doug (doug_capeci_at_[hidden])
Date: 2017-12-27 02:35:52
I have user-defined meta-target rule invocations in my Jamfiles that should only execute when option --clean is provided to the Boost b2 executable. What is the easiest way to have this happen?
Here is an some example Jamfile.file input:
explicit test-01.clean ;
mytest-clean is a user-defined rule that I want invoked when the user specifies --clean on the b2 command line. Note that test-01 is a target name that is created by another user-defined generator.
Many thanks and with regards,
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