-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Choose a build system #4
Comments
As discussed, I based a new example on the existing CaveatsI added a test, but it crashes with Although the method exists:
Generated filesI deleted all generated files (
Meaning it wasn't truly generated after all. Directory structureI converted some directories to the maven standard directory layout. If you haven't seen it before, please take a quick look. Built files go to JDK compatiblityI set some properties to force java 1.6, as requested.
|
…run-plugin. - Options from previous cmake-plugin-execution added. - Working directories added. - Environment variables still need to be done. - Added another test which currently fails (to highlight a known problem). - Not tested on MacOS or Windows.
^-- This has FIXMES in the code. We'll do this eventually but we'd like to move over open PRs before we do any major refactoring. This is a followup task.
This concern is still valid, but has less to do with the build system and more to do with how we store the binaries.
We've chosen maven for now. WIP is happening in a few branches until they're merged to master. For now, see #14 and #18. They should be merged to |
@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
cmake
or do we leverage Maven's native build capabilities directlycmake
because of MacOS buildsNote, 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:
java
parts tosrc/main/java
linux_64
.UnsatisfiedLinkError
in my previous comment.The text was updated successfully, but these errors were encountered: