commit | 14a11a605365cd8fac746b8a0c4055acbba4ea69 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Mon Aug 17 17:27:38 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Mon Aug 17 17:27:38 2015 +0200 |
tree | b0cfd504dfaa5182fb8cb22a9e54fddbbe413f95 | |
parent | 7f4ddfc26fdf6c4558d8e74d22bc2c407c99d5e8 [diff] |
data tree CHANGE mandatory nodes checking Check list and leaf-list instances for min-elements and max-alements. Also fixes some issues and optimezes mandatory checking in choices and other data nodes.
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
$ cmake . $ make # make install
There are two build modes:
The Debug
mode is currently used as the default one. to switch to the Release
mode, enter at the command line:
$ cmake -D CMAKE_BUILD_TYPE:String="Release" .
Set CC variable:
$ CC=/usr/bin/clang cmake .
Note that, with CMake, if you want to change the compiler or its options after you already ran CMake, you need to clear its cache first. For your convenience, this action is available as cclean
target of the Makefile:
$ make cclean $ CC=gcc CFLAGS='-fstack-protector-strong -Wa,--noexecstack' cmake .