pdf文档 Conan 1.24 Documentation

5.31 MB 647 页 0 评论
语言 格式 评分
英语
.pdf
3
摘要
文档主要介绍了Conan 1.24.1版本的更新内容,包括新功能和修复的问题。新增功能包括支持现代CMake、高级查询、配置文件管理、FreeBSD支持、描述字段添加、导入功能增强、SSL证书验证选项、自定义路径配置以及用户和渠道字段支持。修复的问题涉及重复需求、构建环境忽略libcxx设置、安装命令生成损坏包、文件夹管理、CI/CD集成优化等。文档还详细说明了下载缓存机制,用于减少安装命令的执行时间,并介绍了配置选项和远程仓库的管理。
AI总结
### Conan 1.24 Documentation Summary **Conan 1.24 Release Overview** Conan 1.24 introduces several new features, bug fixes, and improvements to enhance the functionality and usability of the Conan package manager. This version focuses on modern CMake support, advanced query capabilities, and enhanced configuration options. --- ### Key Features 1. **New Features** - **Modern CMake Support**: Adds support for modern CMake with INTERFACE IMPORTED targets defined per package. - **Advanced Search Queries**: Enables more complex and detailed searches of Conan packages. - **Profile Management**: Introduces `profile list` and `profile show` commands to list and display profile details. - **FreeBSD Support**: Adds preliminary support for FreeBSD. - **Description Field**: Includes a new `description` field in package definitions to document package contents. - **Imports Manifest**: Generates an imports manifest and provides an `--undo` option to remove imported files. - **SSL Certificate Verification**: Allows optional SSL certificate verification for remotes, supporting self-signed certificates. - **Custom Paths in Profiles**: Enables custom paths in profiles for easier sharing within teams or repositories. - **User/Channel Declaration**: Adds `user` and `channel` fields in Conan recipes to declare requirements for the same user/channel as the current package. 2. **Bug Fixes** - Resolved issues with duplicated requirements when using version ranges and the `requirements()` method. - Fixed the `ConfigureEnvironment` helper ignoring the `libcxx` setting. - Fixed corruption issues with `conan install --all`. - Improved case-sensitive folder management and fixed AppVeyor links in the README. - Solved crashes related to duplicate requires in `conanfile` and issues with existing imported files using symlinks. - Addressed problems with uploading Python packages that generated `.pyc` files at execution. - Fixed missing options in the "copy install command to clipboard" functionality in the Conan web interface. --- ### Configuration and Optimization - **Download Cache**: Introduced an experimental download cache to reduce time spent populating the Conan package cache. This cache stores artifacts like Conan packages, `conanfile.py`, and zipped artifacts from Conan servers or user downloads (with checksums). - **SSL Configuration**: Added support for optional SSL certificate verification, allowing users to work with self-signed certificates. --- ### Testing and Improvements - **Test Improvements**: Enhanced the `test_package` generator to automatically use `txt` and `env` generators. - **Patch Utility**: Added a `strip` parameter to the `tools.patch()` utility for better control over file modifications. --- ### Conan 2.0 Roadmap The document also provides a preview of the "Road to Conan 2.0," highlighting future enhancements and changes. Interested users are encouraged to stay updated for upcoming developments. --- ### Additional Resources The documentation includes a list of tutorials, videos, and links to further learning resources, such as talks and webinars on Conan usage in real-world projects. For more details, visit [conan.io](https://conan.io).
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 635 页请下载阅读 -
文档评分
请文明评论,理性发言.