C++库管理Conan使用备忘
一、安装
pip install conanpip install conan --upgrade
二、配置
conan profile detect #自动检测并配置profile
三、应用
conan search gdal -r conan-center
mkdir build && cd build
vi conanfile.txt
创建conanfile.txt
[requires] gdal/3.4.3 [generators] cmake [imports] include, * -> 3rd/include lib, * -> 3rd/lib
安装包
conan install .