Subject: [Boost-build] execute javac/javah before building c++-lib
From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2009-07-10 02:07:02
I need to execute 2 commands to generate stub-files before my target library is build. How can I specify this in a Jamfile? This is what I have:
: [ glob *.cpp ]
But before building libmva.so, it should execute "javac *.java" and "javah mva_jni". How can I enforce this? BTW, I am working on Ubuntu 9.04.
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