• Introduction
  • Install
  • Getting started
  • Using packages
  • Creating packages
  • Uploading packages
  • Developing packages
  • Package apps and devtools
  • Mastering conan
  • Systems and cross building
  • Integrations
    • CMake
      • cmake generator
      • cmake_multi generator
      • cmake_paths generator
      • cmake_find_package generator
      • Build automation
      • Find Packages
    • Autotools: configure/make
    • Visual Studio
    • Apple/Xcode
    • Compilers on command line
    • Android Studio
    • CLion
    • Ninja, NMake, Borland
    • pkg-config and pc files
    • Boost Build
    • QMake
    • Premake
    • qbs
    • Meson Build
    • Docker
    • Git
    • Jenkins
    • Travis Ci
    • Appveyor
    • Gitlab
    • Circle CI
    • YouCompleteMe (vim)
    • SCons
    • Custom integrations
    • Linting conanfile.py
  • Howtos
  • Reference
  • Videos and links
  • FAQ
  • Changelog

Sign up for release updates:

conan
  • Docs »
  • Integrations »
  • CMake
  • View page source

Announcement

JFrog Bintray is being sunset. Please refer this blog post for more detail.

cmake_logo CMakeΒΆ

Conan can be integrated with CMake using generators, build helpers and custom findXXX.cmake files:

  • cmake generator
    • Global variables approach
    • Targets approach
  • cmake_multi generator
    • Global variables approach
    • Targets approach
    • Creating packages
  • cmake_paths generator
    • Included as a toolchain
    • Included using the CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE
    • Included in your CMakeLists.txt
  • cmake_find_package generator
    • In a conanfile.py
    • In a conanfile.txt
  • Build automation
  • Find Packages
    • Creating a custom FindXXX.cmake file
Next Previous

© Copyright 2016-2018, JFrog. Cookies Settings

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