|
Boost-Build : |
Subject: [Boost-build] Auto-generating jam files
From: Nogradi, Chris (Chris.Nogradi_at_[hidden])
Date: 2012-08-15 15:30:18
Hello,
I would like to auto-generate a jam file and then have it get used in the current running bjam process. I have tried using the SHELL rule and/or the response rule like this:
test =@(../../../Jamroot.jam:E="project test ;" ) ; or test = [ SHELL "echo 'project test ;' >../../../Jamroot.jam" ];
and in both cases the file is generated but the current bjam instance does not see it since the following prints nothing until bjam is rerun:
echo [ glob ../../../*.jam ] ;
this is also the case with other command like use-project, ....
Is there a way to force bjam to rescan the file system for a particular file?
Thanks,
Chris
________________________________
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
Thank you for your cooperation.
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