Conan 2.5 英文文档
首页 白天 夜间 BookChat 小程序 小程序 下载 阅读记录
  • 书签 我的书签
  • 添加书签 添加书签 移除书签 移除书签

ConanFile layout() examples

浏览 2 扫码 打印 2026-09-19 23:29:24
  • ConanFile layout() examples

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
上一篇:
下一篇:
  • 书签
  • 添加书签 移除书签
  • 空白文档
  • 前言
  • Introduction
  • What’s new in Conan 2
  • Install
  • Tutorial
    • Consuming packages
      • Build a simple CMake project using Conan
      • Using build tools as Conan packages
    • Versioning
      • Versions
      • Version ranges
      • Revisions
      • Lockfiles
      • Dependencies conflicts
    • Other important Conan features
  • Devops guide
    • Using ConanCenter packages in production environments
      • Creating and hosting your own ConanCenter binaries
    • Local Recipes Index Repository
    • Backing up third-party sources with Conan
      • Creating an Artifactory backup repo for your sources
    • Managing package metadata files
    • Versioning
    • Save and restore packages from/to the cache
    • Vendoring dependencies in Conan packages
  • Integrations
    • CMake
    • CLion
    • Visual Studio
    • Autotools
    • Bazel
    • Makefile
    • Xcode
    • Meson
    • Android
    • JFrog
  • Examples
    • 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
    • Conan extensions examples
      • Custom commands
        • Custom command: Clean old recipe and package revisions
      • Builtin deployers
        • Creating a Conan-agnostic deploy of dependencies for developer use
      • Custom deployers
        • Copy sources from all your dependencies
    • Conan recipe tools examples
      • CMake
        • CMakeToolchain: Building your project using CMakePresets
        • CMakeToolchain: Extending your CMakePresets with Conan generated ones
        • CMakeToolchain: Inject arbitrary CMake variables into dependencies
        • CMakeToolchain: Using xxx-config.cmake files inside packages
        • Using CMakeToolchain with different generators: Ninja example
      • File interaction
        • Patching sources
      • Meson
        • Build a simple Meson project using Conan
        • Create your first Conan package with Meson
      • Bazel
        • Build a simple Bazel project using Conan
        • Build a simple Bazel 7.x project using Conan
      • Autotools
        • Build a simple Autotools project with Conan dependencies
    • Configuration files examples
    • Graph examples
      • Use a CMake macro packaged in a dependency
      • Use cmake modules inside a tool_requires transparently
      • Depending on different versions of the same tool-require
      • Depending on same version of a tool-require with different options
      • Using the same requirement as a requires and as a tool_requires
    • Developer tools and flows
      • Debugging and stepping into dependencies
      • Debugging shared libraries with Visual Studio
      • Using a MinGW as tool_requires to build with gcc in Windows
    • 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
  • Reference
    • Commands
      • graph-info formatter
    • conanfile.py
      • Attributes
      • Running and output
    • Configuration files
      • global.conf
      • profiles
      • settings.yml
      • remotes.json
      • source_credentials.json
      • credentials.json
      • .conanrc
    • Extensions
      • Python requires
      • Custom commands
      • Custom Conan generators
      • Python API
        • Conan API Reference
        • Remotes API
        • Search API
        • List API
        • Profiles API
        • Install API
        • Graph API
        • Export API
        • Remove API
        • Config API
        • New API
        • Upload API
        • Download API
        • Command API
      • Deployers
      • Hooks
      • Binary compatibility
      • Profile plugin
      • Command wrapper
      • Package signing
    • Environment variables
    • The binary model
      • How the package_id is computed
      • How settings and options of a recipe influence its package ID
      • The effect of dependencies on package_id
      • Extending the binary model
      • Customizing the binary compatibility
    • Conan Server
    • Runners
      • Docker runner
  • Knowledge
    • Cheat sheet
    • Core guidelines
    • FAQ
    • Videos
  • Changelog
暂无相关搜索结果!

    本文档使用 WanXiangYunDang 构建

    展开/收起文章目录

    思维导图备注

    文章二维码

    手机扫一扫,轻松掌上读

    文档下载

    请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
    PDF文档 EPUB文档 MOBI文档

    微信小程序阅读

    BookChat 微信小程序阅读
    微信扫一扫,知识掌上学

    书签列表

      阅读记录

      阅读进度: 0.00% ( 0/0 ) 重置阅读进度