pdf文档 Conan 1.26 Documentation

5.51 MB 669 页 0 评论
语言 格式 评分
英语
.pdf
3
摘要
The document details the release notes for Conan 1.26, highlighting improvements, new features, and bug fixes. Key updates include enhanced folder deletion handling, Python 2 deprecation, support for modern CMake, and new features like package descriptions, SSL verification, and custom paths in profiles. The release also introduces Conan workspaces and fixes issues related to duplicate requirements, link order, and Windows directory names.
AI总结
### Conan 1.26 Documentation Summary #### **Key Features and Updates** 1. **New qmake Generator** - A new qmake generator has been added, contributed by @dragly, improving workflow for Qt-based projects. 2. **Improved Folder Deletion** - Enhanced `shutil.rmtree` functionality ensures that folder deletions (e.g., via `conan remove`) do not fail due to permissions, particularly benefiting Windows users. 3. **Pip Installation Support** - Conan can now be installed via pip: ```bash pip install conan ``` 4. **PyInstaller Support** - Released PyInstaller code to generate binaries from Conan Python source, simplifying package creation for developers. 5. **Hash Verification Tools** - Added `md5`, `sha1`, and `sha256` helpers in `tools` for verifying external downloads in `conanfile.py`. 6. **Default Settings.yml Update** - Latest GCC versions have been added to the default `settings.yml`. 7. **CI Support** - Added support for Travis CI and AppVeyor for Conan development. 8. **Improved User Experience** - Enhanced readability for download progress and help messages. 9. **Python 2 Deprecation** - Conan now requires Python 3. Python 2 support was deprecated as of Conan 1.22.0 and is no longer guaranteed. 10. **Community and Adoption** - Conan is widely used by companies like Audi, Mercedes-Benz, and thousands of developers. - The Conan community actively contributes to recipes, generators, and tools: - Conan client has over 3.5K stars on GitHub with nearly 200 contributors. - ConanCenter Index hosts thousands of packages for popular libraries. - Over 1,000 users engage in the CppLang Slack #conan channel. 11. **Custom Generators** - Two methods for contributing generators: - Forking Conan codebase for built-in generators. - Creating custom generator packages with faster release cycles and versioning. 12. **Linting Support** - A plugin for pylint provides better support for Conan recipe linting, reducing false warnings. 13. **Bug Fixes** - Resolved issues such as duplicated requirements, corrupted package generation, and improved folder case sensitivity. 14. **Experimental Download Cache** - A shared download cache is available to optimize artifact downloads, though it remains experimental. 15. **New Commands and Features** - Added profile management with `profile list|show`. - Preliminary support for FreeBSD. - Added `user` and `channel` fields in Conan recipes for declaring dependencies. 16. **Improved CMake Support** - Enhanced support for modern CMake with `cmake_find_package` and advanced queries. 17. **Workspace Support** - Introduced Conan workspaces for better dependency management. 18. **Signal Handling and System Libraries** - Added SIGTERM signal handler and system libraries to `cmake_find_package`. 19. **Standard Versioning and Path Handling** - Fixed issues with C++20 standard detection and case-sensitive directory handling on Windows. #### **Key Highlights** - **Stability and Compatibility**: Conan 1.26 focuses on backward compatibility while introducing new features. Public repositories like ConanCenter assume the latest client version for optimal functionality. - **Developer Experience**: Enhanced tools, improved error handling, and better integration with CI/CD pipelines streamline development workflows. - **Community-Driven Growth**: The active community ensures rapid iteration, bug fixes, and contributions to the ecosystem. #### **Conclusion** Conan 1.26 introduces significant improvements in workflow, compatibility, and developer tools, while maintaining a strong focus on stability and user experience.
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 657 页请下载阅读 -
文档评分
请文明评论,理性发言.