Logo
1.16
  • Introduction
  • Install
  • Getting Started
  • Using packages
  • Creating Packages
  • Uploading Packages
  • Developing packages
  • Package apps and devtools
  • Mastering Conan
  • Systems and cross building
  • Extending Conan
  • Integrations
    • 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
  • Howtos
  • Reference
  • Videos and links
  • FAQ
  • Changelog
conan

This document is for a "1.X" legacy Conan version, which is no longer recommended. Please update to Conan 2, click here to read the Conan 2 documentation

📖 The complete Conan 2 training is now available for free on JFrog Academy: Essentials and Advanced.

  • Integrations
  • Build systems

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
Previous Next

© Copyright 2016-2019, JFrog.

Built with Sphinx using a theme provided by Read the Docs.
Version: 1.16
Versions
2.29
2.28
2.27
2.26
2.25
2.24
2.23
2.22
2.21
2.20
2.19
2.18
2.17
2.16
2.15
2.14
2.13
2.12
2.11
2.10
2.9
2.8
2.7
2.6
2.5
2.4
2.3
2.2
2.1
2.0
2

Conan 1 releases
1
1.66
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