commit | 24a05b0b8297d3b8137170636a499519371b0d65 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Aug 13 10:03:46 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Aug 13 10:03:46 2015 +0200 |
tree | 4d860c0daabb92ae6173fadac6065771686a5214 | |
parent | 69372e2c23be81c76453c86b7340adce6d3fecd2 [diff] |
BUGFIX remove dead code
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 .