commit | c1265a6de5193ab03385d4f4aa48f9f9635c6f64 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Tue May 26 15:46:28 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Tue May 26 15:46:28 2015 +0200 |
tree | 6b13a2fc4a3703ebf0759f8c9b2fde908d2e4637 | |
parent | dcf9d928888285bb0ad575f6a1374f321dc7ae78 [diff] |
xml parser: BUGFIX: wrong usage of logical AND instead of bitwise AND
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 .