tree: 3b85e52a12331ebd5b11ee78e1a00af7e12a6067 [path history] [tgz]
  1. CMakeLists.txt
  2. README.md
  3. examples/
  4. libyangJava.i
  5. tests/
swig/java/README.md

Requirements

  • cmake >= 2.8.12
  • swig
  • java

Build And Install

make sure you are in libyang-src-dir/build directory

$ cmake -DGEN_LANGUAGE_BINDINGS=ON -DGEN_JAVA_BINDINGS=ON ..
$ make
$ make install

Test

if you wang to test, make sure you are in libyang-src-dir/build

$ cmake -DGEN_LANGUAGE_BINDINGS=ON -DGEN_JAVA_BINDINGS=ON -DENABLE_BUILD_TESTS=ON ..
$ make
$ cd swig/java && make test