Commit Graph

4 Commits

Author SHA1 Message Date
PB
824b36fdc5 Really close the <Import> tag in the comment in wxwidgets.props
Corrects a mistake introduced in a supposed fix in commit a27a7e0,
where the XML-tag-closing slash was wrongly places inside the quotes.

Closes https://github.com/wxWidgets/wxWidgets/pull/1870
2020-05-25 19:12:53 +02:00
PB
a27a7e084e Close the <Import> tag in the comment in wxwidgets.props
Closes https://github.com/wxWidgets/wxWidgets/pull/1868
2020-05-25 16:19:46 +02:00
Vadim Zeitlin
e48d740ed7 Make props file work for builds using any prefix/DLL combinations
The existing wxwidgets.props wasn't particularly useful as it couldn't
be used with with wx DLLs when the user project configuration were not
called "DLL Debug" or "DLL Release" (and it makes little sense for the
user application to use "DLL" in its configuration names just because it
happens to use wx as DLL, of course).

It also couldn't be used with the libraries built using nmake with a
custom COMPILER_PREFIX, which, significantly, includes the official MSW
binaries.

Try to fix both problems by checking for the actually existing libraries
and using whichever ones we find. This is somewhat surprising for a
project file to do, but it seems like it should result in the most
useful behaviour in practice as it allows user projects importing this
file to work out of the box in all of the following situations:

  - Using official wxMSW binaries.
  - Building wxMSW from source without any customization.
  - Building wxMSW from source using reasonable custom compiler prefix.
2020-05-19 01:28:18 +02:00
Vadim Zeitlin
4099e75edb Add property sheet to allow easily configure projects using wx
This seems to be the simplest possible way to let a MSVS project use the
library.
2018-11-18 01:05:10 +01:00