cmake-conan icon indicating copy to clipboard operation
cmake-conan copied to clipboard

CMake wrapper for conan C and C++ package manager

Results 202 cmake-conan issues
Sort by recently updated
recently updated
newest added

Hi, I'm using Conan from cmake, and prior to Conan install I extract the default settings using this command : ``` conan_cmake_autodetect(settings) ``` After this line the output of settings...

stage: triaging

It is possible to use older toolsets with new Visual Studio installations. For example, you can install v142 toolset (14.29) in VS2022 and then provide it to CMake. `cmake -G"Visual...

Except for virtualrunenv, it's just not so convenient...How can I only use CMake to control path-link problem? Can I acquire dependencies's libdir in CMake using Conan-cmake?

question

I am starting to test conan and I am using the CMakeToolchain generator. However, instead of calling `conan install .`, I am calling it through the CMake `conan.cmake` package. So...

question

in case the cmake_find_package generator is present in the recipe, the script should enable also the cmake_find_package_multi generator in case of multi-config projects

PR: Under review

### Environment Details (include every applicable attribute) * Operating System+version: macOS * Compiler+version: apple-clang 13.0 * Conan version: 1.48.1 ### Steps to reproduce (Include if Applicable) 1. Create a package...

I am trying to build with clang 12 for iOS:armv8 on a x86_64 mac but `conan_cmake_autodetect` throws the following error: ``` In file included from :1: In file included from...

question

In [Conan](https://docs.conan.io/en/latest/reference/conanfile/tools/cmake/cmaketoolchain.html) documentation, it says that we need to add `-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake` in the command-line. That is, we have to generate the `conan_toolchain.cmake` file **"before"** we run `cmake` to configure the...

question

In some environments there is no path to the cmake. Because the CMAKE_COMMAND variable contains the path to the currently used cmake, set it to the CONAN_CMAKE_PROGRAM will solve this...