Also explain how to build the tests using CMake

This commit is contained in:
Maarten Bent 2021-11-12 16:53:30 +01:00 committed by Vadim Zeitlin
parent 46973762ba
commit e917c8c6a7

View File

@ -27,6 +27,10 @@ build the library:
directory where you ran configure, not the one in the source tree) and run directory where you ran configure, not the one in the source tree) and run
`make test` (non-GUI tests) or `make test_gui` (GUI ones) to build. `make test` (non-GUI tests) or `make test_gui` (GUI ones) to build.
- When using CMake, add `-DwxBUILD_TESTS=ON` (or `=CONSOLE` for non-GUI tests
only) to the command line arguments, or choose the desired `wxBUILD_TESTS`
option in `cmake-gui`.
- When using `makefile.vc` or `makefile.gcc` under MSW to build the libraries, - When using `makefile.vc` or `makefile.gcc` under MSW to build the libraries,
use the same makefile under `tests` to build the tests. use the same makefile under `tests` to build the tests.