Skip to content

sullis/clp-ffi-java

 
 

Repository files navigation

clp-ffi-java is a library to encode log messages with CLP, and work with the encoded messages using a foreign function interface (FFI).

Requirements

  • A C++ compiler that supports C++-17
  • CMake 3.5.1 or higher

Setup

  • Initialize git submodules
    git submodule update --init --recursive
    • You should run this command any time you update this repo's submodules.

Common build commands

  • 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

Testing

mvn test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 50.9%
  • Java 39.3%
  • NASL 6.2%
  • CMake 3.6%