Conan v2.5 Documentation
首页
白天
夜间
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
编辑文档
Knowledge
来源 1
浏览
98
扫码
打印
2024-07-18 15:16:37
上一篇:
下一篇:
发布点评
Examples
Conan extensions examples
Custom deployers
Copy sources from all your dependencies
Custom commands
Custom command: Clean old recipe and package revisions
Builtin deployers
Creating a Conan-agnostic deploy of dependencies for developer use
Developer tools and flows
Using a MinGW as tool_requires to build with gcc in Windows
Debugging shared libraries with Visual Studio
Debugging and stepping into dependencies
Conan commands examples
Using packages-lists
Conan runners examples
Creating a Conan package using a Docker runner
Using a docker runner configfile to parameterize a Dockerfile
ConanFile methods examples
ConanFile layout() examples
Declaring the layout when creating packages for third-party libraries
Declaring the layout when we have multiple subprojects
Using components and editable packages
Declaring the layout when the Conanfile is inside a subfolder
ConanFile package_info() examples
Propagating environment or configuration information to consumers
Define components for Conan packages that provide multiple libraries
Cross-building examples
Integrating Conan in Android Studio
Creating a Conan package for a toolchain
Cross building to Android with the NDK
Conan recipe tools examples
Meson
Build a simple Meson project using Conan
Create your first Conan package with Meson
CMake
CMakeToolchain: Building your project using CMakePresets
CMakeToolchain: Inject arbitrary CMake variables into dependencies
CMakeToolchain: Using xxx-config.cmake files inside packages
CMakeToolchain: Extending your CMakePresets with Conan generated ones
Using CMakeToolchain with different generators: Ninja example
File interaction
Patching sources
Capturing Git scm information
Bazel
Build a simple Bazel 7.x project using Conan
Build a simple Bazel project using Conan
MSBuild
Create your first Conan package with Visual Studio/MSBuild
Autotools
Create your first Conan package with Autotools in Windows (msys2)
Build a simple Autotools project with Conan dependencies
Create your first Conan package with Autotools
Configuration files examples
Customize your settings: create your settings_user.yml
Graph examples
Depending on different versions of the same tool-require
Use cmake modules inside a tool_requires transparently
Depending on same version of a tool-require with different options
Using the same requirement as a requires and as a tool_requires
Use a CMake macro packaged in a dependency
Changelog
Tutorial
Other important Conan features
Creating packages
Add dependencies to packages
Handle sources in packages
Package files: the package() method
Define information for consumers: the package_info() method
Testing Conan packages
Preparing the build
Create your first Conan package
Configure settings and options in recipes
Build packages: the build() method
Other types of packages
Package prebuilt binaries
Tool requires packages
Header-only packages
Versioning
Versions
Lockfiles
Version ranges
Dependencies conflicts
Revisions
Developing packages locally
Package Development Flow
Packages in editable mode
Understanding the Conan Package layout
Working with Conan repositories
Local Recipes Index Repository
Uploading Packages
Contributing to Conan Center
Setting up a Conan remote
Consuming packages
Build a simple CMake project using Conan
How to cross-compile your applications using Conan: host and build contexts
Introduction to versioning
Understanding the flexibility of using conanfile.py vs conanfile.txt
Building for multiple configurations: Release, Debug, Static and Shared
Using build tools as Conan packages
Install
Integrations
Visual Studio
CLion
Meson
CMake
Autotools
JFrog
Android
Bazel
Makefile
Xcode
What’s new in Conan 2
Knowledge
Core guidelines
Cheat sheet
Videos
FAQ
Devops guide
Backing up third-party sources with Conan
Creating an Artifactory backup repo for your sources
Vendoring dependencies in Conan packages
Managing package metadata files
Using ConanCenter packages in production environments
Creating and hosting your own ConanCenter binaries
Versioning
Handling version ranges and pre-releases
Save and restore packages from/to the cache
Local Recipes Index Repository
Reference
Runners
Docker runner
Conan Server
Commands
graph-info formatter
Environment variables
The binary model
How settings and options of a recipe influence its package ID
The effect of dependencies on package_id
How the package_id is computed
Extending the binary model
Customizing the binary compatibility
conanfile.txt
Extensions
Hooks
Command wrapper
Binary compatibility
Profile plugin
Package signing
Deployers
Custom commands
Custom Conan generators
Python requires
Python API
Command API
Profiles API
Upload API
Search API
Install API
Remotes API
Export API
Graph API
List API
Config API
New API
Conan API Reference
Download API
Remove API
Configuration files
settings.yml
profiles
global.conf
.conanrc
credentials.json
source_credentials.json
remotes.json
conanfile.py
Running and output
Methods
Attributes
Recipe tools
conan.tools.scons
conan.tools.google
BazelToolchain
Bazel
BazelDeps
conan.tools.env
EnvVars
VirtualBuildEnv
Environment
VirtualRunEnv
conan.tools.intel
conan.tools.layout
conan.tools.cmake
CMakeToolchain
CMakeDeps
cmake_layout
CMake
conan.tools.android
conan.tools.scm
Git
Version
conan.tools.CppInfo
conan.tools.meson
Meson
MesonToolchain
conan.tools.gnu
MakeDeps
AutotoolsToolchain
Autotools
AutotoolsDeps
PkgConfig
PkgConfigDeps
conan.tools.apple
conan.tools.apple.fix_apple_shared_install_name()
XcodeToolchain
XcodeDeps
XcodeBuild
conan.tools.microsoft
vs_layout
NMakeDeps
MSBuild
MSBuildToolchain
conan.tools.microsoft.visual
VCVars
MSBuildDeps
conan.tools.files
conan.tools.files downloads
conan.tools.files.symlinks
conan.tools.files AutoPackager
conan.tools.files basic operations
conan.tools.files checksums
conan.tools.files patches
conan.tools.system
conan.tools.system.package_manager
conan.tools.build
Introduction
暂无相关搜索结果!
本文档使用
全库网
构建
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度