2.4
Introduction
What’s new in Conan 2
Install
Tutorial
Devops guide
Integrations
Examples
ConanFile methods examples
ConanFile package_info() examples
ConanFile layout() examples
Conan extensions examples
Conan recipe tools examples
Cross-building examples
Configuration files examples
Graph examples
Developer tools and flows
Conan commands examples
Conan runners examples
Reference
Knowledge
Changelog
conan
This document is for an
outdated
Conan version.
Click here to read the
latest
documentation
Examples
ConanFile methods examples
Edit on GitHub
ConanFile methods examples
¶
ConanFile package_info() examples
Propagating environment or configuration information to consumers
Define components for Conan packages that provide multiple libraries
ConanFile layout() examples
Declaring the layout when the Conanfile is inside a subfolder
Declaring the layout when creating packages for third-party libraries
Declaring the layout when we have multiple subprojects
Using components and editable packages
Version: 2.4
Versions
2.7
2.6
2.5
2.4
2.3
2.2
2.1
2.0
2
1
1.65
1.64
1.63
1.62
1.61
1.60
1.59
1.58
1.57
1.56
1.55
1.54
1.53
1.52
1.51
1.50
1.49
1.48
1.47
1.46
1.45
1.44
1.43
1.42
1.41
1.40
1.39
1.38
1.37
1.36
1.35
1.34
1.33
1.32
1.31
1.30
1.29
1.28
1.27
1.26
1.25
1.24
1.23
1.22
1.21
1.20
1.19
1.18
1.17
1.16
1.15
1.14
1.13
1.12
1.11
1.10
1.9
1.8
1.7
1.6
1.5
1.4
1.3
Downloads
PDF