$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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 libmva.so, 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