Conan 1.45 Documentation
7.46 MB
865 页
0 评论
语言 | 格式 | 评分 |
---|---|---|
英语 | .pdf | 3 |
摘要 | ||
文档详细介绍了Conan 1.45版本的更新内容,包括新功能和改进,如支持现代CMake、改进文件删除权限处理、创建pip包、支持更多查询、添加CI支持等。文档还介绍了Conan的基本概念、安装配置、依赖管理、包创建和用户认证功能。 | ||
AI总结 | ||
### Conan 1.45 Documentation Summary
Conan 1.45 introduces several new features, improvements, and bug fixes. Below is a concise summary of the key updates:
#### **New Features**
1. **New qmake Generator**: Added support for qmake generator (thanks to @dragly).
2. **Pip Package Support**: Conan can now be installed via pip: `pip install conan`.
3. **PyInstaller Support**: Released PyInstaller code for creating binaries from Conan Python source, aiding package creators.
4. **Hashing Tools**: Added `md5`, `sha1`, and `sha256` helpers in `tools` for verifying external downloads.
5. **CI Support**: Added support for Travis-CI and AppVeyor.
6. **Download Progress**: Improved readability of download progress and help messages.
7. **Bug Fixes**: Addressed issues like duplicated requirements, corrupted package generation, and case-sensitive folder management.
#### **Improvements**
1. **Folder Deletion**: Enhanced `shutil.rmtree` for better folder removal, especially on Windows.
2. **SSL Verification**: Added optional SSL certificate verification for remotes, supporting self-signed certificates.
3. **Profile Management**: Allowed custom paths in profiles for easier sharing within teams.
4. **User/Channel Declaration**: Introduced `user` and `channel` fields in Conan recipes.
5. **CMake Support**: Added support for modern CMake with INTERFACE IMPORTED targets.
6. **Search Queries**: Enhanced support for advanced package search queries.
7. **Profile Commands**: Added `profile list` and `profile show` commands for managing profiles.
8. **FreeBSD Support**: Preliminary support for FreeBSD was introduced.
#### **Bug Fixes**
- Resolved issues with duplicate requirements, libcxx setting, corrupted package generation, and more.
#### **Community-Created Resources**
- Extended cheatsheet covering key workflows:
- **Setup**: Installation, configurations, profiles, and remote repositories.
- **Consuming Packages**: Using packages, downloading, and local cache management.
- **Searching & Inspecting**: Package search, inspection, and dependency visualization.
- **Creating Packages**: Basic package creation, Python requirements, hooks, settings, options, versioning, and dependency management.
#### **User Commands**
- Added `--json` parameter to generate JSON output listing users per remote, with details like authentication status.
#### **Migration Guide**
- Introduced a migration guide to help users transition to Conan 2.0, including updates to the `cpp_info` model.
This release enhances Conan's functionality, usability, and compatibility, making it more robust for package management and CI/CD workflows. |
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余
853 页请下载阅读 -
文档评分