• Introduction
  • Install
  • Getting Started
  • Using packages
  • Creating Packages
  • Uploading Packages
  • Developing packages
  • Package apps and devtools
  • Versioning
  • Mastering Conan
  • Systems and cross building
  • Extending Conan
  • Integrations
    • Compilers
    • Build systems
      • CMake
      • MSBuild (Visual Studio)
      • Autotools: configure/make
      • Ninja, NMake, Borland
      • pkg-config and .pc files
      • Boost Build
      • B2 (Boost Build)
      • QMake
      • Premake
      • Make
      • qbs
      • Meson Build
      • SCons
      • Compilers on command line
    • IDEs
    • CI Platforms
    • Other Systems
    • Version Control System
    • Custom integrations
    • Linting
    • Deployment
  • Howtos
  • Reference
  • Videos and links
  • FAQ
  • Glossary
  • Changelog

Sign up for release updates:

conan
  • Docs »
  • Integrations »
  • Build systems
  • Edit on GitHub
Come and join ConanDays, a technical event bringing together all worldwide Conan users to share their experiences and contribute to the future of Conan. Read more about it here. It will take place in Madrid, Spain, on March 19-20, 2020. Submit a talk and contribute to the community sharing your knowledge or reserve your spot now!

Build systems¶

Conan can be integrated with any build system. This can be done with:

  • Generators: Conan can write file/s in different formats gathering all the information from the dependency tree, like include directories, library names, library dirs…
  • Build Helpers: Conan provides some classes to help calling your build system, translating the settings and options to the arguments, flags or environment variables that your build system expect.
  • CMake
    • cmake generator
    • cmake_multi generator
    • cmake_paths generator
    • cmake_find_package generator
    • cmake_find_package_multi
    • Build automation
    • Find Packages
  • MSBuild (Visual Studio)
    • With CMake
    • With visual_studio generator
    • Calling Visual Studio compiler
    • Build an existing Visual Studio project
    • Toolsets
  • Autotools: configure/make
  • Ninja, NMake, Borland
  • pkg-config and .pc files
    • Approach 1: Import and patch the prefix in the .pc files
    • Approach 2: Prepare and package .pc files before packaging them
    • Approach 3: Use --define-prefix
    • Approach 4: Use PKG_CONFIG_$PACKAGE_$VARIABLE
    • Approach 5: Use the pkg_config generator
  • Boost Build
  • B2 (Boost Build)
  • QMake
    • Example
  • Premake
    • Example
  • Make
    • Example
  • qbs
  • Meson Build
  • SCons
  • Compilers on command line
Next Previous

© Copyright 2016-2019, JFrog.

Built with Sphinx using a theme provided by Read the Docs.
Version: 1.21
Versions
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