James
James
@DoDoENT we gave it another try, now displaying a much shorter summary, if you want to test how it looks now. Thanks very much!
> Now all warnings seem to be gone: Oh, I see, the warnings have been moved to the ``print_graph_basic()`` function, that prints the recipes/versions resolution, but I don't see that...
Excellent, thanks very much for your feedback. I think the output: ``` WARN: risk: Packages required both with visible=True and visible=False cmake_build/1.4.1@microblink/main: Required by zlib/1.3.2@microblink/main, abseil/20250512.0@microblink/main, qoixx/0.1.7.3@microblink/main, core_utils/2.7.3@microblink/main, xnnpack/20230525.1.6@microblink/main, eigen/3.4.2@microblink/main,...
> However, I'd still be happier if non-visible dependencies (e.g., test dependencies) didn't even get propagated downstream... They are not by default. ``self.test_requires()`` which use ``visible=False`` as default, are not...
[question] Installing an executable with its dependencies through CMake with the new CMakeConfigDeps
Hi @Todiq Thanks for your question. What is exactly failing to work there? It is not clear how it doesn't work, maybe the best would be to provide a minimal...
[question] Installing an executable with its dependencies through CMake with the new CMakeConfigDeps
Thanks for the feedback. I am having a look at the first part. Indeed, the ```cmake get_target_property(alpha_libs Alpha::alpha LINK_LIBRARIES) ``` won't return the results, because the IMPORTED executable target didn't...
[question] Installing an executable with its dependencies through CMake with the new CMakeConfigDeps
I am doing the following test: ```python def test_runtime_lib_dirs_install(self): client = TestClient(path_with_spaces=False) client.run("new cmake_lib -d name=liba -d version=1.0 -o=liba") client.run("create liba -o *:shared=True -tf=") client.run("new cmake_lib -d name=libb -d version=1.0...
[question] Installing an executable with its dependencies through CMake with the new CMakeConfigDeps
Hi @Todiq Any feedback about the above? It seems to be working from my side
[question] Installing an executable with its dependencies through CMake with the new CMakeConfigDeps
Is the above failing with the same ``new cmake_lib -d name=liba -d version=1.0 -o=liba`` Conan default templates? A couple of things to try: - Try removing the ``powershell`` conf, and...
[question] Installing an executable with its dependencies through CMake with the new CMakeConfigDeps
The consumer ``conanfile.py`` seem broken? (wrong indents) ```python from conan import ConanFile from conan.tools.cmake import CMake, cmake_layout class Recipe(ConanFile): settings = "os", "compiler", "build_type", "arch" generators = "CMakeDeps", "CMakeToolchain" requires...