pdf文档 Conan 1.32 Documentation

5.44 MB 731 页 0 评论
语言 格式 评分
英语
.pdf
3
摘要
文档主要介绍了Conan 1.32版本的更新内容,包括新功能和改进。新增了qmake生成器、CI支持(Travis-CI和AppVeyor)、包管理功能的优化(如移除文件夹的改进、下载进度的可读性提升)、配置文件功能(如profiles的使用)、依赖管理的增强(如支持更多编译器版本、依赖范围处理改进)等。文档还提到了一些已修复的bug,如重复依赖处理、生成损坏包等问题。
AI总结
### Conan 1.32 Documentation Summary Conan 1.32 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, contributed by @dragly. 2. **Pip Installation**: Conan can now be installed via `pip install conan`. 3. **PyInstaller Support**: Released binaries for creating Conan packages, simplifying distribution for app developers. 4. **Hashing Tools**: Added `md5`, `sha1`, and `sha256` helpers in `tools` for verifying external downloads. 5. **Modern CMake Support**: Enhanced support for INTERFACE IMPORTED targets in CMake. 6. **Advanced Search Queries**: Improved search functionality for Conan packages. 7. **Profile Management**: Added `profile list|show` commands to manage profiles. 8. **FreeBSD Support**: Preliminary support for FreeBSD. 9. **Description Field**: New `description` field in recipes for documenting package contents. 10. **Imports Manifest**: Added functionality to generate and manage import manifests. 11. **SSL Certificate Verification**: Optional SSL verification for remotes, allowing self-signed certificates. 12. **Custom Paths in Profiles**: Profiles can now specify custom paths for easier sharing in teams. 13. **User/Channel Fields**: Recipes can now declare requirements for the same user/channel. 14. **Conan IO Improvements**: Enhanced package web interface with better descriptions. 15. **CMake Generator Flexibility**: Allow modification of CMake generator settings. --- #### **Improvements** 1. **Folder Deletion**: Improved `shutil.rmtree` for better folder removal, especially on Windows. 2. **Download Cache**: Introduced a shared download cache to optimize artifact retrieval. 3. **Human-Readable Output**: Enhanced progress bars and help messages for better user experience. 4. **CI Support**: Added support for Travis-CI and Appveyor. 5. **Configuration**: Improved profile management and configuration options in `conan.conf`. --- #### **Bug Fixes** 1. **Duplicate Requirements**: Fixed an issue where duplicate requirements were generated using version ranges. 2. **Corrupted Packages**: Resolved a bug where `conan install --all` generated corrupted packages. 3. **libcxx Setting**: Fixed the `ConfigureEnvironment` helper to respect `libcxx` settings. 4. **Crashes and Errors**: Several fixes for crashes related to duplicate requires, imported files, and symlink handling. 5. **Link Order and Configurations**: Fixed issues with link order in multi-config packages and C++ standard management. 6. **Duplicate Flags**: Removed duplicate `-std` flags in CMake for older versions. 7. **SCM Detection**: Fixed issues with auto-detection of compilers like Apple Clang and GCC. --- #### **Other Notes** 1. **Experimental Features**: The download cache is an experimental feature aimed at reducing package retrieval time. 2. **Editable Layout Files**: Enhanced support for editable packages with Jinja2 template integration. 3. **IDE Support**: Added support for VS Code and other IDEs, improving integration with build systems. --- This release focuses on enhancing Conan's functionality, performance, and usability, with significant improvements in package management, CI/CD integration, and developer experience.
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 719 页请下载阅读 -
文档评分
请文明评论,理性发言.