Boost logo

Boost-Build :

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

Hi, 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: lib mva : [ glob *.cpp ] ; But before building, it should execute "javac *.java" and "javah mva_jni". How can I enforce this? BTW, I am working on Ubuntu 9.04. Thank you, Andrej

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at