Closed
Description
@bmhm has been very helpful in giving us some examples on how to create a JNI project with Maven with a working proof-of-concept here: https://github.com/bmhm/native-example
- Decide if the project use Maven, Gradle or something else
- Note, some early work for Maven support is available in 2.8.1-experimental branch, authored kindly by @vogt31337
- Decide if we keep
cmake
or do we leverage Maven's native build capabilities directly- // edit by @bmhm: As discussed, we stick to
cmake
because of MacOS builds
- // edit by @bmhm: As discussed, we stick to
Note, the temporarily cmake
branch has a boilerplate for native and cross-compiling. This will be merged back into mainline once the above decisions are made.
Further TODO for the maven-cmake-branch:
- move the
java
parts tosrc/main/java
- restructure into submodules, so there can be multiple build jobs (one for each platform).
- find and replace hardcoded occurrences of
linux_64
. - ask @tresf or @woodrowbarlow how to fix that
UnsatisfiedLinkError
in my previous comment.