commit | 49babf38b05314f28430ee860372fed704c1ea54 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Jun 18 13:56:17 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Jun 18 13:56:17 2015 +0200 |
tree | 53744f21a750123930a872ec9fbc56c0205c7fc1 | |
parent | b05774cf41af7e19004a8b897931d6cade94730c [diff] |
yin parser BUGFIX simplify feature name uniquness test Do not start the check in the main module when it was invoked in submodule. It is enough just to check the current (sub)module and the included submodules.
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 .