commit | e1fa8581872f71696e0582d5ec645a9022fac820 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Mon Jun 08 09:46:45 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Mon Jun 08 09:46:45 2015 +0200 |
tree | 0759c3b14a0f588f22656ab5a6b3e59b254eced6 | |
parent | 3bde87fec3100c76ab6ab987715dbbdcb8d93c4b [diff] |
schema tree FEATURE: free uses nodes with refines. TODO: augment (they are not currently even parsed)
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 .