From 818028ba7192920cc589d533bbf9a544ee86b369 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 19 Sep 2026 17:11:20 +0200 Subject: [PATCH] flags --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5935bb540..a243a6d17 100644 --- a/README.md +++ b/README.md @@ -148,16 +148,16 @@ You can then
-The following flags (with their non-default values) can be passed to `cmake`: -| Flag | Description | -| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `-DWITH_SERVER=1` | Build Servatrice server | -| `-DWITH_CLIENT=0` | Don't build Cockatrice client | -| `-DWITH_ORACLE=0` | Don't build Oracle card database tool | -| `-DCMAKE_BUILD_TYPE=Debug` | Compile in debug mode
Enables extra logging output, debug symbols, and much more verbose compiler warnings | -| `-DWARNING_AS_ERROR=0` | Don't treat compilation warnings as errors in debug mode | -| `-DUPDATE_TRANSLATIONS=1` | Configure `make` to update the translation .ts files for new strings in the source code
**Note:** `make clean` will remove the .ts files | -| `-DTEST=1` | Enable regression tests
**Note:** `make test` to run tests, *googletest* will be downloaded if not available | +The following flags can be passed to **CMake**: +| Flag | Default | Description | +| ----------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `-DWITH_CLIENT` | `1` | Build Cockatrice client | +| `-DWITH_ORACLE` | `1` | Build Oracle card database tool | +| `-DWITH_SERVER` | `0` | Build Servatrice server | +| `-DCMAKE_BUILD_TYPE` | `Release` | Build type
Set `Debug` for extra logging output, debug symbols, and m ch more verbose compiler warnings | +| `-DWARNING_AS_ERROR` | `1` | Treat compilation warnings as errors in debug mode | +| `-DUPDATE_TRANSLATIONS` | `0` | Configure `CMake` to update the translation .ts files with new strings from the source code
**Note:** `make clean` will remove the .ts files | +| `-DTEST` | `0` | Run regression tests
**Note:** `make test` to run tests, *googletest* will be downloaded if not available | # Run