Conan 1.61 Documentation
7.52 MB
985 页
0 评论
语言 | 格式 | 评分 |
---|---|---|
英语 | .pdf | 3 |
摘要 | ||
文档主要介绍了Conan 1.61版本的更新内容,包括新增功能、修复的问题以及对旧版本的兼容性。新增功能包括支持SConsDeps生成器、支持Xcode 15、新增trim_conandata()函数、新增CMake工具链配置选项以及允许基于Meson工具链的跨平台构建。修复的问题包括PyYaml版本兼容性问题、警告信息优化、构建依赖处理等。文档还提到Conan 1.61版本不会破坏1.0版本的食谱或命令行调用,并强调了对Python 3的支持和对Python 2的弃用。此外,文档还介绍了Conan在社区中的应用情况以及一些使用技巧和命令行工具的更新。 | ||
AI总结 | ||
### Conan 1.61 Documentation Summary
#### Key Features and Updates
1. **New Features**:
- **SConsDeps Generator**: Added for better dependency management. (#14713)
- **Xcode 15 Support**: Enhanced compatibility with Xcode 15. (#14533)
- **trim_conandata() Function**: Improves clarity by making operations explicit. (#14169)
- **CMake Install Strip Option**: Added `tools.cmake:install_strip` configuration to strip binaries during installation. (#14167)
- **Cross-Platform Builds**: Allows cross-building with Visual Studio recipes using MesonToolchain. (#13141)
- **New Commands and Workflows**: Includes improvements to `conan remove` and support for PyInstaller binaries. (#14323)
2. **Bug Fixes**:
- **Legacy Generators Warning**: Increased warning for legacy generators to ensure compatibility. (#14662)
- **PyYaml Compatibility**: Fixed issues with PyYaml 6.0.X versions to avoid Cython 3.0 problems. (#14323)
- **Xcconfig Variable Update**: Changed `HEADER_SEARCH_PATHS` to `SYSTEM_HEADER_SEARCH_PATHS` for better compatibility. (#14157)
- **Build Requires Handling**: Fixed consideration of revisions in `build_requires` for CLI arguments. (#14679)
3. **Compatibility**:
- Conan 1.61 is backward compatible with existing 1.0 recipes and commands.
- Python 2 support is deprecated, and Python 3 is now required.
4. **Community and Ecosystem**:
- Conan is widely adopted by companies like Audi, Mercedes-Benz, and others.
- Over 3.5K stars on GitHub and nearly 200 contributors.
- Active community contributions to ConanCenter and package recipes.
5. **Command-Line Changes**:
- **Removed Commands**: `conan package`, `conan copy`, and `conan user` have been deprecated or replaced.
- **New Commands**: Added support for profiles, imports, and improved query functionality.
- **Profile Management**: Enhanced with `profile list` and `profile show` commands for better configuration.
6. **General Improvements**:
- **Build and Host Profiles**: Now required for all commands, with support for scoped settings and options.
- **CI Support**: Added Travis-CI and AppVeyor integration for Conan development.
- **Package Promotion**: Encourages server-side package promotions instead of manual copying.
#### Conclusion
Conan 1.61 introduces significant improvements in compatibility, new features, and bug fixes, while maintaining a strong focus on community-driven development. The updates ensure better cross-platform support, enhanced dependency management, and improved user experience. |
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余
973 页请下载阅读 -
文档评分