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

ubuntu wine msvc [dockerfile](https://github.com/nephatrine/docker-nxbuilder/blob/windows/Dockerfile.msvc) and [cmake's cross tool chain](https://github.com/nephatrine/docker-nxbuilder/blob/windows/override/opt/toolchains/windows-x86_64-msvc.cmake) configuration MY Custom CMakelist.txt ,when I used x86_64-mingw toolchain can crossbuild successful: [CMakeLists.txt](https://github.com/conan-io/cmake-conan/files/7055643/CMakeLists.txt) build output: ``` packager@8745ebee5be6:~/cmake-conan-crossbuild/build$ cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=../windows-x86_64-msvc.cmake .....

My project has dependencies which set `env_info` variables in their `conanfile.py`, which my application requires during generation in its CMakeLists.txt. If using `conan install` from the command-line, I'd use a...

question

``` # Get the path to the current cmake binary string(REGEX REPLACE "[/|\\]cmake(\\.exe)?$" "" CMAKE_PATH "${CMAKE_COMMAND}") # escape Windows path string(REPLACE "\\" "/" ESCAPED_PATH "$ENV{PATH}") conan_cmake_run(CONANFILE "conanfile.txt" ENV "PATH=${CMAKE_PATH};${ESCAPED_PATH}" BUILD...

How would I be able to use a specific revision of a package using the CMake wrapper and a call to `conan_cmake_run`? I'd like to use something like `poco/1.10.1@_/_#2d09ae5dff111b2e2b941354520369a6` (at...

question

The result is: ERROR: Invalid setting '"Visual Studio"' is not a valid 'settings.compiler' value. Possible values are ['Visual Studio', 'apple-clang', 'clang', 'gcc', 'intel', 'mcst-lcc', 'msvc', 'qcc', 'sun-cc'] Read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting" That...

triaging

### Environment Details (include every applicable attribute) * Operating System+version: Microsoft Windows 10 Pro Version 10.0.19042 Build 19042 * Compiler+version: MSVC 19.28.29914.0 * Conan version: 1.36.0 * Python version: 1.36.0...

Usage example of **conan config install** command (install conan config from git repository on tag v1.0): `conan config isntall [email protected]:gomons/conan_config.git --args="-b v1.0"` How to call the command above by using...

With Visual Studio 2019 installed running ```ps cmake ../.. -A x64 -T ClangCL ``` to use the clang-cl toolset I get an error within conan.cmake when it runs `conan_cmake_detect_unix_libcxx`, which...

Hi there, i used conan.cmake v0.16.1 to install boost 1.75.0 in my project. The configuring and building works but the then the call to `find_package(Boost)` fails due to the empty...

I was using a check for a multi-config generator, like this: ``` get_property(isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) if(NOT isMultiConfig) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, options...