commit | 6d6076e402df502b5a128de708687e03618ccef5 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 13 15:53:09 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 13 15:53:09 2015 +0200 |
tree | 8e6e78336641d3f44a2f2d7a0ae73548ee365dd4 | |
parent | 9ae41274aba6b97dc75ea7ae6524bda9ba84bf3f [diff] |
doc NEW short description of the info printer target syntax
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 .