-
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
Add Maven, CI #14
Add Maven, CI #14
Conversation
…l cmake installation.
…duce cmake min version to 2.7 for now (b/c of travis-cli).
…g option for clarity.
- Adds -DNATIVE_LIB_DIR option - Adds boilerplate mingw profiles - Fixes building with MSVC
Completely removes cmake-maven plugin in favor of calling cmake directly, simplifying build system.
* Change maven id and project name to just "jssc" at "io.github.java-native" namespace * Adds two releasable jars (platform-specific jar and uber jar). TODO: add non-shaded fat jar #21 * Allow cmake to parse version info from pom.xml * Adds ability to skip native compilation steps including cmake and tests * Leverages maven-assembly-plugin for better classifier to the default artifact * Alphabetize, organize and remove hard-coding of dependencies/variables * Adds Travis-CI for many platforms. Note, some binaries are not yet usable, sorry! * Adds Ubuntu 14.04 cross-compiled binaries to the source tree. TODO: Move to git-lfs * Add LICENSE to pom.xml (#22)
This PR will be merged back to master very soon (days, not weeks). Items left are some decisions on cross-compiling (see #26 as an example) as well as where to permanently stash these binary files Once these remaining items are ironed out, we can merge back to master. Note, if there's any major stalling on #26, I'll merge with it still open. |
* Updated default artifacts. Fixes #31. - Default artifact is now the "global" jar containing all precompiled libraries. - The system-classifier jar is now an optional jar which is not generated by the package profile. - The system-classifier jar contains everything from the "global" jar, but with the system-classifier updated library. - Updated cmake output folder to `${cmake.generated.directory}`. - Removed MAVEN_OUTPUT_DIRECTORY from CMakeLists.txt.
@bmhm and I have agreed to keep Merging. |
Adds:
How to build:
This is a work-in-progress. I'm placing the PR here in the open so that onlookers are aware of its existence and progress.
PR's against
maven
branch are always welcome. Contributors can commit directly. If you want to be a contributor, just ask.Don't know maven? No problem! Compilation is painless, check out the wiki: https://github.com/java-native/jssc/wiki/Compiling
Also addresses:
scream3r#103
scream3r#59