commit | c935fff7df078630d40567c84fc11cf46d6bfea4 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Aug 17 14:02:06 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Aug 17 14:02:06 2015 +0200 |
tree | 844521aa1b4e0505e3d1675ba8cbff44936b957f | |
parent | 3e6665f8a30daf1ead8d943100da76c83002c68f [diff] |
resolve CHANGE use function for finding module with prefix
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 .