commit | b84f88a5baaef44a46d29479416fc70576f3ae34 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Sep 24 13:16:10 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Sep 24 13:16:10 2015 +0200 |
tree | acaf603f2b5954fa5750784c7172e5cd7a840599 | |
parent | 184521f069fb022589c11ed18419e2f830ab3ab0 [diff] |
tree CHANGE resolving unres during duplication It can actually fail even though it did not before, the schema has changed since then.
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 .