https://github.com/kwhat/ant-jni-tasks
Ant Tasks for Compiling Native C/C++ Code for JNI Projects
https://github.com/kwhat/ant-jni-tasks
ant ant-task autotools c c-plus-plus jni make native-code
Last synced: 6 months ago
JSON representation
Ant Tasks for Compiling Native C/C++ Code for JNI Projects
- Host: GitHub
- URL: https://github.com/kwhat/ant-jni-tasks
- Owner: kwhat
- License: other
- Created: 2013-09-28T02:59:54.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T17:10:19.000Z (about 4 years ago)
- Last Synced: 2023-08-04T07:39:50.336Z (about 2 years ago)
- Topics: ant, ant-task, autotools, c, c-plus-plus, jni, make, native-code
- Language: Java
- Homepage:
- Size: 207 KB
- Stars: 6
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: COPYING.LESSER.md
Awesome Lists containing this project
README
[ant-jni-tasks](https://github.com/kwhat/ant-jni-tasks/) - Ant Tasks for Compiling Native C/C++ Code for JNI Projects
====================================================================================## About
Simple Ant tasks to reliably build C/C++ code for Java Native Interface (JNI) projects as well as
any native library dependencies that maybe required. The goal of the project is to provide a
simplified, working alternative to the legacy ant-contrib
[cpptasks](http://ant-contrib.sourceforge.net/cpptasks/index.html) allowing C/C++ code to be
configured and built directly from Ant as part of the Java build process. No external shell, bat
or ps1 shell scripts to bootstrap the process and no repetitive exec commands all over your
build.xml file.### Supported Toolchains
* GNU C Compiler
* GNU C++ Compiler
* LLVM CLANG Compiler
* LLVM CLANG++ Compiler### Supported Build Systems
* CMake
* GNU Autotools
* GNU MakeNeed support for additional features, toolchains or build systems? Please file a feature request bug.
## Usage
Simply add the following to your ant project:```XML
```
## Available Tasks
* [autoreconf](doc/AUTORECONF.md)
* [configure](doc/CONFIGURE.md)
* [make](doc/MAKE.md)
* [pkg-config](doc/PKGCONFIG.md)
* [cc](doc/CC.md)
* [ld](doc/LD.md)The following are projects that currently use JNITasks that you may use as an example.
[JNativeHook](https://github.com/kwhat/jnativehook/)