Conan 1.43 Documentation
7.15 MB
849 页
0 评论
| 语言 | 格式 | 评分 |
|---|---|---|
英语 | .pdf | 3 |
| 摘要 | ||
文档详细介绍了Conan 1.43版本的更新内容,包括修复多个bug(如CMakeDeps生成器的属性使用问题、pkg_config生成器的根cpp_info属性监听问题等),新增功能(如支持更高级的查询、对FreeBSD的初步支持、新增描述字段等),以及对Python 3的依赖。文档还提到Conan在社区中的应用情况,包括用户数量和贡献情况,并强调了向后兼容性和对旧版本的稳定性承诺。 | ||
| AI总结 | ||
### Conan 1.43 Documentation Summary
#### 1. **Release Highlights**
- **Version Compatibility**: Conan 1.43 is designed to maintain backward compatibility with existing 1.0 recipes and command-line invocations. Any breaking changes are considered critical and should be reported.
- **New Features**:
- **qmake Generator**: Added support for the qmake generator, thanks to community contributions.
- **Improved Folder Management**: Enhanced folder deletion processes (e.g., `conan remove`) to handle permissions issues, particularly on Windows.
- **CI Support**: Added support for Travis-CI and AppVeyor for Conan development.
- **Hashing Tools**: Introduced `md5`, `sha1`, and `sha256` helpers for verifying external downloads in `conanfile.py`.
- **Latest GCC Versions**: Added support for the latest GCC versions in `settings.yml`.
- **Download Progress**: Enhanced human-readability of download progress and help messages.
#### 2. **Bug Fixes**
- **CMakeDeps Generator**: Fixed an issue where the `cmake_build_modules` property was not being properly used in components.
- **pkg_config Generator**: Made the generator listen to `cpp_info` properties from the root.
- **MSVC Compatibility**: Resolved issues with MSVC not working for CMake legacy generators.
- **Compiler Detection**: Improved compiler detection using built-in macro definitions instead of parsing compiler versions directly.
#### 3. **Deprecated Features**
- **Legacy Tools**: Deprecated `tools.msvc_build_command` and `tools.build_sln_command`.
- **Environment Variables**: Deprecated `CONAN_USERNAME` and `CONAN_CHANNEL`.
- **Deprecated Attributes**: `cpp_info.cppflags` is deprecated in favor of `cxxflags`.
#### 4. **New Workflows**
- **Conan as a Python Package**: Can now be installed via `pip install conan`.
- **Binary Creation**: Released `pyinstaller` code for creating Conan binaries from source, aiding package creation for distributions.
#### 5. **Community and Adoption**
- ** widespread adoption**: Used by hundreds of companies (e.g., Audi, Mercedes-Benz) and thousands of developers.
- **Contributions**: The Conan project (GitHub) has over 3.5K stars and nearly 200 contributors. The ConanCenter index has thousands of community-contributed packages.
#### 6. **Other Changes**
- **Package ID Management**: Fixed issues with duplicate package IDs and incorrect information during `package_id` method calls.
- **Improved SCM Detection**: Enhanced detection of version control systems (e.g., avoiding issues with `git` not being present).
- **Experimental Features**: Added JSON output for `conan search` and improved support for C++20 standards.
#### 7. **Notes**
- **Python Compatibility**: Conan requires Python 3. Python 2 support was deprecated in Conan 1.22.0 and is no longer guaranteed.
- **Backward Compatibility**: New features and APIs introduced in 1.43 may break older versions of Conan. Public repositories like ConanCenter assume the use of the latest client version.
This summary captures the key updates, features, and changes in Conan 1.43, focusing on usability, compatibility, and community contributions. | ||
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余
837 页请下载阅读 -
文档评分













