cmake_multi

This is the reference page for cmake_multi generator. Go to Integrations/CMake if you want to learn how to integrate your project or recipes with CMake.

Usage

$ conan install -g cmake_multi -s build_type=Release ...
$ conan install -g cmake_multi -s build_type=Debug ...

These commands will generate 3 files:

  • conanbuildinfo_release.cmake: Variables adjusted only for build_type Release

  • conanbuildinfo_debug.cmake: Variables adjusted only for build_type Debug

  • conanbuildinfo_multi.cmake: Which includes the other two, and enables its use

Variables in conanbuildinfo_release.cmake

Same as conanbuildinfo.cmake with suffix _RELEASE

Variables in conanbuildinfo_debug.cmake

Same as conanbuildinfo.cmake with suffix _DEBUG

Available Methods

Same as conanbuildinfo.cmake