commit | e4748479b7b8358e3e6c22ba297bf55bbd77c70b | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Wed Jul 08 18:00:22 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Wed Jul 08 18:00:22 2015 +0200 |
tree | 0d3473b915473931c2fa8c507866a0e1b9802e79 | |
parent | 94ca54b45877ea6e62e8638d89ebbf1f9b9af0b5 [diff] |
xml data parser/printer FEATURE basic support for leaf/leaflists basic structures and functions to store/print leaf/leaflist's value
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 .