commit | a4d19d411cc539861180073a01a2b38cf0b11108 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 07 16:10:48 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 07 16:10:48 2015 +0200 |
tree | 80413b3820a1bd101e57af91e373cf2252fa5f86 | |
parent | 15b4870eb91667d69aca2072d299a1db1af2f8fd [diff] |
tree printer BUGFIX cases are valid children
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 .