commit | c3d9f8ca71970a4f7432516ed62a8806dfce3d9e | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 31 14:37:24 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 31 14:37:24 2015 +0200 |
tree | 022baffb1826ffce3e85c315d2d10f9f42cb9f21 | |
parent | 77441a6b9c2e094d64a31414834e21df96794a40 [diff] |
all CHANGE redesign and splitting of the library Parsing strings and resolution of any kind are implemented in separate files. Resolution of cases, which cannot be resolved at the time of being parsed, rewritten. Other smaller changes.
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 .