SpaceIm

Results 220 comments of SpaceIm

A workaround may be to use NMakeDeps instead of AutotoolsDeps when compiler is Visual Studio. Indeed variables populated by NMakeDeps are not specific to NMake, but cl & link executables.

> A workaround may be to use NMakeDeps instead of AutotoolsDeps when compiler is Visual Studio. Indeed variables populated by NMakeDeps are not specific to NMake, but cl & link...

From my point of view, all these things (stdcpp_library & -static-libstdc++) should be abstracted away: - `static-libstdc++` should be a `compiler.libcxx` thing. After all there are already `c++_static` & `c++_shared`...

Anybody has found a robust way (which doesn't break with new conan versions) to add whole archive for specific libs in `cpp_info.libs`? It's a big issue for `libtorch` static, since...

Answering myself: I had to do something like this (successfully tested with Visual Studio & apple-clang for the moment): ```python def package_info(self): self.cpp_info.names["cmake_find_package"] = "Torch" self.cpp_info.names["cmake_find_package_multi"] = "Torch" def _add_whole_archive_lib(component,...

We have this patch in conan recipe of ceres-solver 2.1.0 but it would be pretty similar for 2.2.0: https://github.com/conan-io/conan-center-index/blob/d513925b315f7dfed4a189ba2ff8dd923e306bc8/recipes/ceres-solver/all/patches/2.1.0-0002-fix-mingw-build.patch

Coming from https://github.com/conan-io/conan-center-index/issues/21358 conancenter recipes adjust `required_conan_version` depending on features they rely on. It turns out that 95% of conancenter recipes use "conan v2" features implemented in conan

Even with `cmake.languageSupport.enableFileAPI=True`, CMake Tools extension installed, and after a successful CMake configuration, functions, macros & variables coming from an `include()` don't have any syntax highlighting nor autocompletion. At least...

Currently it's impossible to ban collect_libs(), it can be very hard to predict lib name based on: - the logic in upstream build files - informations available in user profile...

An issue which could be avoided with this hook: https://github.com/conan-io/conan-center-index/issues/15405