conan
conan copied to clipboard
Conan - The open-source C and C++ package manager
Changelog: (Feature): Allow the authorization process to be customized, just like authentication. This fixes #5758. Docs: https://github.com/conan-io/docs/pull/2684 - [x] Refer to the issue that supports this Pull Request. - [x]...
I want to use the CMakePresets with Visual studio 2022 and use a native CMake project with Ninja generator. However, using CMakeToolchain, I am unable to get the Ninja generator....
* Conan 1.51.0 * A recipe contains a `test_package/conanfile.py` that uses the `layout()` method and the new generators * `conan create` will cause multiple files to be generated _next to_...
The documentation is clear about header-only packages [here](https://docs.conan.io/en/latest/migrating_to_2.0/recipes.html#the-package-id-method), but it's not helpful when a recipe may be header-only or not (e.g. fmt, spdlog). So, based on the real case https://github.com/conan-io/conan-center-index/pull/12021,...
Multiple status messages in the form "Dependency X already found" are logged when consuming Conan packages using the `cmake_find_package_multi` generator by calling `find_package()`, for example `find_package(gRPC REQUIRED NO_MODULE)`. These messages...
### Environment Details (include every applicable attribute) * Operating System+version: Linux * Compiler+version: gcc * Conan version: 1.50.0 * Python version: 3.good.one See #11471 copying the comment stream in here,...
(dev) PS C:\Users\harry> conan inspect boost/1.79.0 ERROR: Error loading conanfile at 'C:\Users\harry\.conan\data\boost\1.79.0\_\_\export\conanfile.py': Unable to load conanfile in C:\Users\harry\.conan\data\boost\1.79.0\_\_\export\conanfile.py File "C:\Users\harry\Anaconda3\envs\dev\lib\imp.py", line 172, in load_source module = _load(spec) File "", line...
- [x] I've read the [CONTRIBUTING guide](https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md). According to https://docs.conan.io/en/1.51/migrating_to_2.0/recipes.html#settings, in conan v2 we have to protect deletion of settings in `configure()` with try/except. It's not very elegant, and might...
When packaging a C project with Conan, the regular way to discard C++ from the package ID is by removing some settings from the compiler: ```python def configure(self): del self.settings.compiler.libcxx...
With the conan v1 `scm` feature it was possible to perform a shallow clone, which can save quite a lot of time when cloning a large repository such as llvm...