commit | 6572fb4e50f301471cb239d2c1f8ff0e18278cd5 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 07 09:55:05 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 07 09:55:05 2015 +0200 |
tree | bfeb8b0082420efec815b3b8024783c7cc27ab4d | |
parent | fc6ac1795658a7fb15850d85cde6d6862d3a9370 [diff] |
yanglint CHANGE searchpath and clear command Search path can now be safely modifed without destroying the context, new command clear does that now.
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 .