Conan 1.19 Documentation
4.88 MB
609 页
0 评论
语言 | 格式 | 评分 |
---|---|---|
英语 | .pdf | 3 |
摘要 | ||
文档详细介绍了Conan 1.19版本的更新内容,包括新功能、改进和bug修复。主要内容涵盖生成器改进、文件删除权限问题、pip安装支持、二进制包创建、哈希验证、CI支持、文件管理、新命令、SSL证书、配置文件、IDE集成、版本控制、环境变量、包管理、工作区等功能和修复。 | ||
AI总结 | ||
### Conan 1.19 Documentation Summary
Conan 1.19 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, improving workflow for Qt projects.
2. **Pip Installation**: Conan can now be installed via pip: `pip install conan`.
3. **PyInstaller Support**: Enables creation of binaries from Conan Python source code, aiding package creation for distributions.
4. **Hashing Helpers**: Added `md5`, `sha1`, and `sha256` helpers in `tools` for verifying external downloads.
5. **CI Support**: Enhanced integration with Travis CI and AppVeyor for development.
6. **Improved Search**: Supports advanced queries in the search functionality.
7. **Profiles**: Added commands to list or show profile details, and introduced support for custom paths in profiles.
8. **FreeBSD Support**: Preliminary support for FreeBSD.
9. **Package Description**: Added a new description field to document package contents.
10. **Imports Manifest**: Introduced functionality to generate imports manifest and undo imported files.
11. **SSL Verification**: Added optional SSL certificate verification for remotes, supporting self-signed certificates.
12. **User/Channel in Recipes**: Allows declaring requirements for the same user/channel as the current package.
13. **CMake Support**: Added support for modern CMake with `INTERFACE IMPORTED` targets.
14. **Environment Variables**: Enhanced configuration options, including `CONAN_COLOR_DARK`, `CONAN_COMPRESSION_LEVEL`, and `CONAN_CPU_COUNT`.
#### **Improvements**
1. **Folder Deletion**: Improved `shutil.rmtree` to handle permission issues, especially on Windows.
2. **Human-Readability**: Enhanced download progress and help messages for better user experience.
3. **Case Sensitivity**: Improved case-sensitive folder management.
4. **Strip Parameter**: Added `strip` parameter to `tools.patch()` utility.
5. **Dependency Management**: Improved handling of duplicate requirements and link order issues.
6. **Build Process**: Added `SIGTERM` signal handler for safe termination.
#### **Bug Fixes**
1. **Duplicate Requirements**: Fixed issues with duplicated requirements when using version ranges and `requirements()` method.
2. **libcxx Setting**: Resolved `ConfigureEnvironment` ignoring `libcxx` setting.
3. **Package Corruption**: Fixed issue with `conan install --all` generating corrupted packages.
4. **Windows Line Endings**: Corrected line endings in `conan.conf` for Windows compatibility.
5. **Duplicate Imports**: Fixed crashes with duplicate imported files and symlinks.
6. **Link Order**: Addressed issues with link order in multi-config packages.
7. **C++20 Standard**: Improved handling of C++20 standard with modern compilers.
8. ** SCM Detection**: Fixed auto-detection of Apple Clang and other compilers.
#### **Key Enhancements**
- **Versioning**: Enhanced support for fixed versions and version ranges, with improvements to dependency resolution.
- **Package Management**: Added system libraries to the `cmake_find_package` generator.
- **Configuration**: Introduced new environment variables for better control over Conan's behavior, including color output and compression settings.
Conan 1.19 provides significant improvements in dependency management, build processes, and cross-platform compatibility, making it a robust tool for C and C++ developers. |
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余
597 页请下载阅读 -
文档评分