Conan 1.39 Documentation
                
  
              7.05 MB
             
              819 页
               
              0 评论
              
| 语言 | 格式 | 评分 | 
|---|---|---|
英语  | .pdf  | 3  | 
| 摘要 | ||
文档介绍了Conan 1.39版本的更新内容,包括新功能、改进和错误修复。主要内容有:支持Python 3,不再保证Python 2兼容性;新增pip安装方式;改进了依赖管理功能,如支持更多编译器和操作系统;修复了多个已知问题,提升了安装和删除文件夹的稳定性;新增了CI支持;改进了下载进度和帮助信息的可读性。  | ||
| AI总结 | ||
### Conan 1.39 Documentation Summary
#### **Key Updates and Features**
1. **New Features**:
   - **QMake Generator**: Added a new qmake generator (contributed by @dragly).
   - **Pip Installation**: Conan can now be installed via `pip install conan`.
   - **PyInstaller Support**: Released PyInstaller code for creating binaries from Conan Python source, aiding package creation for distributions.
   - **Hash Helpers**: Added `md5`, `sha1`, and `sha256` helpers in `tools` for verifying external downloads.
   - **CI Support**: Added support for Travis CI and AppVeyor for Conan development.
   - **Improved Download Progress**: Enhanced readability of download progress and help messages.
2. **Bug Fixes**:
   - Fixed issues with folder deletion using `shutil.rmtree`, improving reliability, especially on Windows.
   - Resolved bugs related to duplicate requirements, corrupted package generation, and Windows-specific issues (e.g., case-sensitive folder management).
   - Fixed issues with CMake targets, dependency resolution, and package ID calculation.
3. **Compatibility and Deprecations**:
   - **Python 2 Deprecation**: Conan no longer supports Python 2, as it was officially deprecated by Python maintainers.
   - **Deprecated Features**: Several older tools and methods (e.g., `tools.msvc_build_command`, `tools.build_sln_command`) have been deprecated.
   - **V2 Mode Changes**: Introduced `CONAN_V2_MODE` for improved compiler detection and stricter enforcement of certain settings (e.g., `cppstd`).
4. **Package Creation and Management**:
   - Added support for modern CMake and improved dependency queries.
   - Enhanced profile management with new commands (`profile list`, `profile show`).
   - Added support for FreeBSD and new fields (`user` and `channel`) in Conan recipes.
5. **Community and Resources**:
   - Conan is widely used by companies like Audi, Mercedes-Benz, and Continental.
   - The community contributes actively to ConanCenter and maintains an extensive library of packages.
   - A community-created extended cheatsheet provides a workflow-centric guide for daily operations.
6. **Other Improvements**:
   - Added support for custom paths in profiles and optional SSL certificate verification for remotes.
   - Improved error handling for duplicate imports and symlinks.
   - Added system libraries to the `cmake_find_package` generator and a SIGTERM signal handler for safe termination.
#### **Important Notes**
- **Backward Compatibility**: New features and APIs may make packages and recipes created with older versions of Conan incompatible.
- **Python 3 Requirement**: Conan now requires Python 3 to run, as Python 2 support has been officially deprecated.
- **V2 Mode Feedback**: Users are encouraged to provide feedback on `CONAN_V2_MODE` to shape the future of Conan.
#### **Documentation Resources**
- **Cheat Sheet**: Available in PDF and PNG formats for quick reference.
- **Extended Cheatsheet**: A community-created guide covering setup, configuration, package management, and more.
This version of Conan introduces significant improvements in functionality, compatibility, and usability, making it a robust tool for dependency management in C/C++ and other languages.  | ||
 P1 
 P2 
 P3 
 P4 
 P5 
 P6 
 P7 
 P8 
 P9 
 P10 
 P11 
 P12 
下载文档到本地,方便使用
    
                - 可预览页数已用完,剩余
                807 页请下载阅读 -
              
文档评分 
  












