c++ 中恼人的依赖管理

Table of Contents

Java 有 maven, Python 有 pip, C++ 呢?
C++ 有 vcpkg 和 conan

示例

比较一下 libzmq 的安装

从源码编译安装

git clone  git@github.com:zeromq/libzmq.git
cd libzmq
./autogen.sh
./configure
make
make install

从 vcpkg 安装

git clone https://github.com/microsoft/vcpkg.git
./bootstrap-vcpkg.bat # For powershell
./bootstrap-vcpkg.sh # For bash
./vcpkg install zeromq

参见

Comments |0|

Legend *) Required fields are marked
**) You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Category: Uncategorized