-
Notifications
You must be signed in to change notification settings - Fork 6.4k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake projects on Windows do not copy DLLs to output folder. #16557
Comments
Thanks for posting this issue. It seems that the link you provided above are wrong. Since I clicked them and both of them are directed to https://github.com/microsoft/vcpkg/issues/url. Could you please help provide your project sample and attach your result here? |
Please see feature |
I've attached the two projects as requested. |
Have you tried the above suggestions from @JackBoosY ? |
Is there any documentation on how to use what @JackBoosY was referring to? |
Currently there is no any documentation about this feature. Since it is experimental. I think you may set
|
I tried setting that property to |
@NancyLi1013 do you know if X_VCPKG_APPINSTALL_DEPS_INSTALL copies only VCPKG dependencies or if it will also copy my shared library's DLLs? Say if I have a Windows project with
Would X_VCPKG_APPINSTALL_DEPS_INSTALL only copy Boost Asio or would it also copy My Shared Library's DLLs? |
@pratikpc Yes, it should do that. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the bug
When using vcpkg to pull in dependencies as DLLs, the resulting DLLs are not copied into the output folder.
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The DLLs generated by the libraries pulled in by vcpkg should be copied to the output folder.
Failure logs
No failure logs generated.
Additional context
The sample project I created references both wxWidgets and Boost-filesystem.
See https://github.com/fishnet37222/vcpkg-test.git for a regular Visual Studio C++ project using vcpkg in which the issue does not occur.
The text was updated successfully, but these errors were encountered: