pdf文档 Conan 1.14 Documentation

4.17 MB 528 页 0 评论
语言 格式 评分
英语
.pdf
3
摘要
文档详细介绍了Conan 1.14版本的更新内容,包括新功能、问题修复和配置选项。版本更新涵盖了对现代CMake的支持、更高级的搜索查询、配置文件管理和环境变量的使用。文档还列出了多个版本的修复内容,如处理重复依赖、改进CMake生成器、支持自定义路径配置等。此外,文档提到了配置文件的结构和使用方法,以及环境变量对设置的覆盖方式。
AI总结
### Conan 1.14 Documentation Summary #### 1. **Version Updates and Features** - **1.14.5 (Release Notes)**: - **Bug Fixes**: Resolved issues with duplicate requirements, configuration environment ignoring `libcxx` settings, and corrupted package generation. - **New Features**: - Support for modern CMake with `INTERFACE IMPORTED` targets. - Enhanced query capabilities in the Conan search functionality. - Profile management with `list` and `show` commands. - Preliminary support for FreeBSD. - Added a `description` field for package documentation. - Improved Conan.io package web interface with better descriptions. - Custom paths in profiles for team collaboration. - `user` and `channel` fields in Conan recipes for declaring requirements. - SSL certificate verification for remotes (including self-signed certificates). - Strip parameter added to `tools.patch()` utility. - Removed dependency on Boto. - Improved handling of non-ASCII characters in file names. - **1.14.5 (Continued Bug Fixes)**: - Resolved issues with transitive private dependencies, file path handling, and SCM feature improvements. - Fixed compatibility issues with different Linux distributions and Windows subsystems. - Enhanced error handling in `conan install` and `test_package` commands. - **1.7.x Series**: - Bug fixes for `conan build` command, `test_package` functionality, and compatibility with MSYS, Cygwin, and WSL. - Added support for destination folders in `tools.get()` and improved `SystemPackageTool` for `apt-get`. - Deprecated `conanfile_directory` in favor of `source_folder`, `build_folder`, etc. - Removed `scopes`, `test_package`, and deprecated `werror` behavior. #### 2. **Configuration and Environment Variables** - **Environment Variables**: - `CONAN_COMPRESSION_LEVEL`: Controls compression level for archives (default: 9). - `CONAN_CPU_COUNT`: Sets the number of cores for parallel builds (default: available cores). - `CONAN_DEFAULT_PROFILE_PATH`: Specifies a default profile file path. - `CONAN_NON_INTERACTIVE`: Disables interactive prompts (default: False). - `CONAN_ENV_XXXX_YYYY`: Overrides default settings in profiles. - **Profiles**: - Allow configuration of settings, options, environment variables, and build requirements in a file. - Profiles can be used with `--profile` in `conan install` and `conan create` commands. - Examples include setting OS, architecture, compiler, and build type. #### 3. **Key Improvements and Notes** - **Build Environment**: - Improved handling of build environments for cross-platform compatibility. - Added support for custom paths in profiles. - **Package Management**: - Enhanced package import/export functionality with manifest generation. - Added `short_paths` feature for Windows (default: True). - **Deprecations**: - Removed `ConfigureEnvironment` and `GCC` build helpers. - Deprecated `conanfile_directory` in favor of newer folder management methods. This summary captures the major updates, features, and configuration options introduced in Conan 1.14, focusing on usability, compatibility, and performance improvements.
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 516 页请下载阅读 -
文档评分
请文明评论,理性发言.