commit | 1b0d01afce34c48e7b1534e3293a08a51ee7c9c1 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Wed Aug 19 17:00:35 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Wed Aug 19 17:00:35 2015 +0200 |
tree | b8143638481c508f11a05a452253b2e23d38a8b2 | |
parent | 58f6e67705d4171644121c0bc408579de04da47d [diff] |
data tree CHANGE improve filter data tree normalization still not complete, but now it better works with duplicated leafs, anyxml and containers. TODO merge containment nodes selecting the same data
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 .