| 1 |
/** |
| 2 |
@page building_protolibJni_with_waf Building ProtolibJni with WAF |
| 3 |
|
| 4 |
<hr> |
| 5 |
@section building_protolibJni_with_waf Building ProtolibJni |
| 6 |
|
| 7 |
ProtolibJNI is a java native library that allows java applications access |
| 8 |
to the Protolib ProtoPipe class. The source code is available in the |
| 9 |
protolib/src/java directory. |
| 10 |
|
| 11 |
To build the library, you may find it helpful to load the protolib project |
| 12 |
into Visual Studio (see @ref building_with_vs) and open a Visual Studio command |
| 13 |
so that the correct environment variables are set. |
| 14 |
|
| 15 |
First clean the distribution using waf distclean: |
| 16 |
|
| 17 |
@verbatim |
| 18 |
waf distclean |
| 19 |
@endverbatim |
| 20 |
|
| 21 |
Next configure waf to build the protolibJni library, dll, and |
| 22 |
jar files: |
| 23 |
|
| 24 |
@verbatim |
| 25 |
waf configure --disable-wx --disable-vif |
| 26 |
--disable-manet --static --build-java |
| 27 |
@endverbatim |
| 28 |
|
| 29 |
Now build the library: |
| 30 |
|
| 31 |
@verbatim |
| 32 |
waf |
| 33 |
@endverbatim |
| 34 |
|
| 35 |
The ProtolibJni.dll, ProtolibJni.jar, and ProtolibJni.lib files will be |
| 36 |
created in the build/default directory. |
| 37 |
*/ |
| 38 |
|