Skip to content

Releases: conan-io/cmake-conan

Version 0.19.0 (09-Feb-2026, Conan 2.X)

09 Feb 17:29

Choose a tag to compare

This is the first tagged version of cmake-conan for Conan 2.X.
This integration is based on the conan_provider.cmake CMake dependency provider. It has been in the develop2 branch since Conan 2.0 launch, and the new releases of this repo will be branched from develop2 branch.

It is still considered unstable, and changes can happen at anytime that breaks users. The recommendation for stability is to put a copy of conan_provider.cmake in your own repositories.

Version 0.18.1 (04-Apr-2022)

04 Apr 14:13
df0f64a

Choose a tag to compare

  • Remove hash check in README example (#407)

Version 0.18.0 (29-Mar-2022)

29 Mar 11:14

Choose a tag to compare

  • Add a function to call conan lock create (#319 )
  • Raise cmake_minimum_version to 3.9 (#405)
  • Allow users to specify conan executable for conan_config_install (#376)
  • Detect ClangCL correctly on Visual Studio Clang builds enhancement (#380)
  • Add OUTPUT_FOLDER to conan install (#403)

Version 0.17.0 (19-Nov-2021)

19 Nov 10:44

Choose a tag to compare

  • Detect compiler.cppstd from CMAKE_CXX_STANDARD (#343)
  • Fix wrong argument in conan_cmake_autodetect (#354)
  • Add VS 17 2022 support (#350)
  • Fix conan_cmake_install example in README and add note about cmake_find_package generator (#339)
  • Fix macro _conan_detect_build_type (doesn't work with Visual Studio IDE) (#322)

Version 0.16.1

25 Feb 18:39

Choose a tag to compare

  • Add quiet OUTPUT_QUIET ERROR_QUIET to new conan_cmake_install. #313
  • Fix naming issue with conan_cmake_install. #316

Version 0.16

23 Feb 15:43

Choose a tag to compare

  • Separate conan install from autodetection using new conan_cmake_configure, conan_cmake_autodetect and conan_cmake_install. #310
  • Fix conan_cmake_detect_vs_runtime when setting BUILD_TYPE without setting CMAKE_BUILD_TYPE. #209
  • Intel compiler support for linux. #288
  • Check & log conan commands execution. #309
  • Document imports argument. #297
  • Skip generic os check when CMAKE_SYSTEM_NAME is set to generic. #292
  • Document BUILD argument. #277
  • Add build and host profiles. #250
  • Fix for cmake-conan issue #225 - Compile error on configuration on MacOS. #226
  • Add VERIFY_SSL arg to conan_add_remote. #228
  • Remove manually specified settings from auto list. #258
  • Add additional compiler options to conan_cmake_detect_unix_libcxx. #197
  • Quote variables in conan_cmake_detect_vs_runtime. #253
  • Fixed argument parsing in conan_config_install. #215
  • Add TLS_VERIFY ON to file DOWNLOAD. #266
  • Allow passing absolute path to conanfile argument. #240
  • Document conan_command. #264
  • Update supported Operating Systems. #232
  • Change parse_arguments name. #211
  • Fixed conan_check VERSION cmake regex backslash escape issue. #247
  • Make error message more actionable. #259

Version 0.15

16 Jan 11:03

Choose a tag to compare

  • Specify build configurations in multi-config generators using the CONFIGURATION_TYPES argument in conan_cmake_run.
  • Consider the SKIP_STD argument to not adjust the C++ standard flag in CMAKE_CXX_FLAGS.
  • Add versioning to the conan.cmake file with a comment inside the file specifying the version.
  • Add conan_config_install macro to install Conan client configurations.
  • Fix detection of the CMP0025 CMake policy.
  • Fix issues with configure_file trying to replace some patterns.
  • Fix errors in detect_vs_runtime() for pure C projects.

Version 0.14

06 May 00:06

Choose a tag to compare

  • Use ARGUMENTS_INSTALL_FOLDER to define the location of the conanbuildinfo.cmake file
  • conan_cmake_run() now produces real time output, not delayed.
  • Support for Visual Studio 2019
  • Support for multiple, composable profiles
  • New NO_IMPORTS option to conan_cmake_run() to avoid importing files (argument--no-import)
  • New generic INSTALL_ARGS argument to conan_cmake_run() for generic arguments
  • Implement automatic detection of the correct libcxx setting
  • Pass the correct build_type setting, irrespective of the case
  • Make sure the conanfile.txt.junk is not created outside the build folder
  • Fix output error message when the compiler version has a mistmatch
  • Fix detection of clang

Version 0.13

20 Nov 11:18
edc8ee4

Choose a tag to compare

  • Feature: New PROFILE_AUTO mechanism, to be able to use both profiles, but override its values with automatically detected CMake settings.
  • Feature: New ENV arguments to provide environment variables to the underlying conan install command.
  • Feature: Displaying output and errors when running in "server mode"
  • Fix: Added WindowsStore to supported OS targets
  • BugFix: Use cmake generator instead of cmake_multi if BUILD_TYPE is specified
  • Fix: Use only major version for clang>=8 (per clang new versioning scheme, to align with Conan client)
  • Using VS2017 image for testing in Appveyor
  • Updated docs

Version 0.12

18 Jul 10:16

Choose a tag to compare

  • New conan_check() macro to check that conan is installed (can define REQUIRED and also request VERSION)
  • New conan_add_remote() macro to add remotes programmatically from cmake
  • Added GENERATORS option to conan_cmake_run()
  • Added INSTALL_FOLDER option to conan_cmake_run()
  • Definition of CONAN_IMPORT_PATH env-var, to be used by imports() in "multi" generators.