commit | 020404fd675593d5d8e511ffc9b3bae6700d17e2 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 15 15:45:42 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 15 15:45:42 2015 +0200 |
tree | bad6557bf0d377f0bca8426821974df1f4b369ec | |
parent | 88bdb536cf87b1a401b586f15392c2eb970a5ec7 [diff] |
common CHANGE get_len_ran_interval() prototype change Required to fix getting intervals of types that do not have any restriction, but a superior type does.
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 .