源码编译安装yaml-cpp

 

源码编译安装yaml-cpp

$ git clone https://github.com/jbeder/yaml-cpp.git
$ cd yaml-cpp
$ mkdir build && cd build
$ cmake .. && make -j
# 默认安装到 /usr/bin /usr/include
$ sudo make install