pdf文档 Conan 1.36 Documentation

5.71 MB 765 页 0 评论
语言 格式 评分
英语
.pdf
3
摘要
文档介绍了Conan 1.36版本的更新内容,包括新功能如qmake生成器、对现代CMake的支持、FreeBSD的初步支持以及对Python 3的兼容性改进。文档还提到Conan的安装方法、更新流程、社区贡献及使用情况,并指出从1.22版本起不再支持Python 2。
AI总结
### Conan 1.36 Documentation Summary #### 1. **New Features and Improvements** - **Qmake Generator**: A new qmake generator has been added, contributed by @dragly. - **Folder Deletion**: Improved `shutil.rmtree` for better folder removal, especially on Windows, to avoid permission issues. - **Pip Installation**: Conan can now be installed via `pip install conan`. - **PyInstaller Support**: Released PyInstaller binaries for Conan's Python source code, aiding package creation for distributions. - **Hash Helpers**: Added `md5`, `sha1`, and `sha256` helpers in `tools` for verifying external downloads. - **Default Settings**: Updated `settings.yml` with the latest GCC versions. - **CI Support**: Added support for Travis-CI and Appveyor in Conan development. - **Improved UX**: Enhanced readability of download progress and help messages. #### 2. **Bug Fixes** - **Duplicate Requirements**: Fixed an issue where duplicate requirements could occur when using version ranges and the `requirements()` method. - **Environment Configuration**: Resolved issues with the `ConfigureEnvironment` helper ignoring `libcxx` settings. - **Package Corruption**: Fixed an issue where `conan install --all` generated corrupted packages. - **CMake Issues**: Addressed problems with CMake generator configurations and target definitions. - ** FreeBSD Support**: Added preliminary support for FreeBSD. - **Link Order and Strip Parameters**: Fixed link order issues with private requirements and added the `strip` parameter to `tools.patch()`. - **Duplicate Imports and Crashes**: Solved crashes related to duplicate requires and imported files with symlinks. - **C++20 Standard**: Fixed issues with C++20 standard usage and settings detection. #### 3. **Compatibility and Stability** - **Backward Compatibility**: Conan 1.X versions maintain backward compatibility, ensuring no breaking changes for existing recipes and packages. - **Python 2 Deprecation**: Conan 1.22 and later versions no longer support Python 2. Python 3 is now the sole supported environment. #### 4. **Community and Usage** - **Community Growth**: Conan is widely used by companies like Audi, Continental, and Mercedes-Benz, with an active community contributing recipes, profiles, and documentation. - **Profiles and Workspaces**: Added support for profiles to manage custom settings and introduced Conan Workspaces for better dependency management. #### 5. **Installation and Upgrade** - **Upgrade Process**: Conan can be upgraded via `pip install conan --upgrade` or by downloading new installers. - **Settings Management**: The `settings.yml` file is automatically upgraded during Conan updates, preserving user configurations. #### 6. **Road to Conan 2.0** - **Binary Packages and Workspaces**: Enhanced support for binary packages and workspaces, with a focus on improving the Conan ecosystem for future versions. This summary highlights the key updates, features, and fixes in Conan 1.36, emphasizing its enhanced functionality, stability, and compatibility.
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 753 页请下载阅读 -
文档评分
请文明评论,理性发言.