cmake: build DOS utilities in maintainer mode
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user