• 2024-01-10Conan 拷贝依赖库到指定目录
    function(copy_shared_librariesCONAN_LIB_DIRSTARGET_DIR)foreach(LIB_DIR${CONAN_LIB_DIRS})file(GLOB_RECURSELIB_FILES${LIB_DIR}/*.so*)#使用通配符匹配所有可能的共享库文件foreach(LIB_FILE${LIB_FILES})#获取共享库文件名
  • 2023-12-18conan 基本使用
    原文:https://docs.conan.io/2/tutorial/consuming_packages.htmlBasic安装conanpipinstallconan打印conan依赖安装路径conanconfighome查看profileconanprofileshowinstall时指定profileconaninstall.--build=missing--profile=defaultProfile首次安装
  • 2023-12-15使用conan安装并使用Spdlog
    IntroduceVeryfast,header-only/compiled,C++logginglibrary.https://github.com/gabime/spdlog.gitInstallHeader-onlyversion复制include文件夹到你的项目中,并使用C++11。Compiledversion(recommended-muchfastercompiletimes)$gitclonehttps://github