Document nmake arguments needed when using MSVC binaries

In particular, mention that COMPILER_PREFIX must be set.

Closes #18801.
This commit is contained in:
Vadim Zeitlin 2020-06-30 15:08:11 +02:00
parent 59ea594db7
commit 72565cf195

View File

@ -55,3 +55,12 @@ executables will require wxWidgets DLLs in addition to MSVC run-time DLLs, so
you should consider adding the directory containing these DLLs to your PATH and you should consider adding the directory containing these DLLs to your PATH and
either distributing them with your application or instructing your users to either distributing them with your application or instructing your users to
download them. download them.
Building samples with nmake
---------------------------
When using `makefile.vc` files for building wxWidgets samples using `nmake`
from command line, you need to use `SHARED=1` and also define `COMPILER_PREFIX`
appropriately, e.g. the full command line could be
> nmake /f makefile.vc BUILD=release SHARED=1 COMPILER_PREFIX=vc14x