I'm using Visual Studio 2022 and wxWidgets 3.2.0. I'm playing around with using the provided "wxwidgets.props" file. My project builds without any issues, but it selects the DLL version of the libraries by default, which means that I have to somehow copy the DLLs to the output folder. I know I can put an "xcopy" command in the post-build step, but that would copy every DLL, whether or not it's actually needed.
Is it possible to configure the "wxwidgets.props" file to select the static build of the libraries?
How to use "wxwidgets.props" to select static libraries
-
- Experienced Solver
- Posts: 74
- Joined: Sat May 06, 2017 1:40 pm
Re: How to use "wxwidgets.props" to select static libraries
AFAIK, if the .props file detects the DLL build it will use it, so the only way to make it use the static build is to rename the DLL folder (e.g., from lib\vc_dll to lib\Xvc_dll) so it cannot be found.