conan

这篇博客介绍了如何使用conan进行包的远程管理和开发流程,包括conan remote的设置,以及conda环境的管理,如输出环境文件和创建环境。此外,还详细讲述了将conan包上传到JFrog的generic类型远程仓库的过程。
摘要由CSDN通过智能技术生成

conan

conan remote

conan remote list
conan remote add conan-center "https://conan.bintray.com" # 添加默认remote,之后可以试用conan-stable的库
conan remote add <REMOTE> https://api.bintray.com/conan/bincrafters/public-conan 

conan package development 流程

由于有的时候不想把源码copy到conan packagae里面。需要了解conan create . lz/testing 中的流程:(https://docs.conan.io/en/latest/developing_packages/package_dev_flow.html)

1. Copy the sources to a new and clean build folder.
2. Build the entire library from scratch.
3. Package the library once it is built.
4. Build the test_package example and test if it works.

下面测试的案例代码:https://github.com/memsharded/example_conan_flow

conda

conda 管理环境

conda 输出环境文件/创建环境

<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值