Skip to content

Commit 5c27918

Browse files
committed
wxlib.bat generator variable seems unnecessary, the user's VS version will be the default
1 parent 73dc895 commit 5c27918

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

readme.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ but there is some additional setup required:
6666
* Put the `lib\vc14x_x64_dll` folder from the 64-bit downloaded libraries in `wxlib\lib\vc_x64_lib`.
6767
* Put the `lib\vc14x_dll` folder from the 32-bit downloaded libraries in `wxlib\lib\vc_lib`.
6868

69-
It's probably easier, however, to just use the `wxlib.bat` file to build it from the submodule source code in `wx`. If you want to try with Visual Studio 2022, you can edit the batch file or set an environment variable:
70-
* `set WXB_GENERATOR="Visual Studio 17 2022"`
71-
* `wxlib.bat`
69+
It's probably easier, however, to just use the `wxlib.bat` file to build it from the submodule source code in `wx`.
7270

7371
Otherwise on other platforms there is probably some wxWidgets library package you can install and use. In theory could could use the `WXL_CONFIG` environment variable to tell the make build how to use it instead.
7472
* `export WXL_CONFIG=/path/to/wx-config`

wxlib.bat

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
@set WXCMAKE64=vc64
1212
@set WXCMAKE32=vc32
1313

14-
@if not defined WXB_GENERATOR set WXB_GENERATOR="Visual Studio 16 2019"
15-
16-
@set WXCONF=%WXCONF% -G %WXB_GENERATOR%
1714
@set WXCONF=%WXCONF% -DwxBUILD_USE_STATIC_RUNTIME=ON
1815
@set WXCONF=%WXCONF% -DwxBUILD_SHARED=OFF
1916
@set WXCONF=%WXCONF% -DwxUSE_UNICODE=ON

0 commit comments

Comments
 (0)