On 04.02.2014 22:40, A. Schamp wrote:Andrew,
Volodya,
Thank you for such specific help. I think I understand the concept of the generator and the meta-targets a little bit better. I don't
quite see whether I can integrate that with the 'run' and 'link' rules provided by the testing.jam package, which has features (re-running
tests if targets change, etc.) that we'd like to retain. Is such a thing possible, or would we have to roll our own in some way?
actually, I think my example does exactly that - for RUN target. If you replace EXE with LINK in the example it should be fully
identical. LINK type is declared in testing.jam and is effectively creating EXE type and then some extra reporting on top.Yes, indeed. You probably can check for 'gcc-pcc' as value of <toolset> or for 'ppc' as value of <toolset-gcc:version> feature, or
We are using <target-os>linux in both cases, but I presume another property (architecture or toolset) could be accessible in a similar way?
whatever else is suitable. You can use --debug-building to see what properties are used for generating metatagers and you can use
--debug-generators for an actual generation projects, though the output will be large on real projects; you might want to play
with examples.
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build