conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
7.97k stars 952 forks source link

[question] How to package application with conan installed dependencies together? #16408

Open aiyolo opened 1 month ago

aiyolo commented 1 month ago

What is your question?

I want to make a installer for my application that will need some dll files installed by conan.

I known that conan will install dependencies to .conan folder, but how I can I copy the all the dependent *dll file to a customed folder when I run cmake --build --preset release --target install?

Is there a recommended practice?

Have you read the CONTRIBUTING guide?

memsharded commented 1 month ago

Hi @aiyolo

Yes, there are some recommended practices: