clp-ffi-java is a library to encode log messages with CLP, and work with the encoded messages using a foreign function interface (FFI).
- A C++ compiler that supports C++-17
- CMake 3.5.1 or higher
- Initialize git submodules
git submodule update --init --recursive
- You should run this command any time you update this repo's submodules.
- Build and test
mvn package
- Build without any extras
mvn package -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip
- Generate the JNI headers
mvn generate-sources
- Build the native library
mvn generate-resources
- Build and package the native library
mvn generate-resources validate assembly:single@assemble-lib-dir
- The validate phase is necessary to remove spaces from the OS name
mvn test