cmake: build DOS utilities in maintainer mode

This commit is contained in:
OpenAI
2026-05-31 07:47:50 +00:00
committed by Mario Fetka
parent d570dd59ec
commit 38083458a4
2 changed files with 10 additions and 9 deletions

View File

@@ -624,7 +624,7 @@ The modern CMake build can rebuild `net.exe` with Open Watcom v2 on Linux.
Configure with:
```bash
cmake -S . -B build -DMARS_NWE_BUILD_DOSUTILS=ON
cmake -S . -B build -DMAINTAINER_BUILD=ON
cmake --build build
```
@@ -644,7 +644,7 @@ rm -f *.o *.obj
### Default install behavior
When `MARS_NWE_BUILD_DOSUTILS` is disabled, CMake installs a prebuilt `net.exe` from the source tree.
When `MAINTAINER_BUILD` is disabled, CMake installs a prebuilt `net.exe` from the source tree. Maintainer builds rebuild the DOS utilities with Open Watcom automatically.
That keeps the normal mars_nwe build independent from Open Watcom. Maintainers can enable the Open Watcom build only when they want to regenerate the DOS binary.