Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
build(posix): build only the game and its overlay unless tests are asked
Olcay Seygan239ea89eff4d
diff --git a/GeneralsMD/Code/Tools/build-posix.sh b/GeneralsMD/Code/Tools/build-posix.shindex c1e4c9cea..b0dd38000 100755--- a/GeneralsMD/Code/Tools/build-posix.sh+++ b/GeneralsMD/Code/Tools/build-posix.sh@@ -166,7 +166,13 @@ if [ -n "$TARGET" ]; thenecho "[build] done: $TARGET in $BUILD"exit 0fi-"$CMAKE" --build "$BUILD" || fail "build failed."+# Without test, only what the staging below takes: the game and its overlay. A test binary that does+# not compile on somebody's toolchain then cannot stop them getting a game; test builds everything.+if [ -n "$RUNTESTS" ]; then+ "$CMAKE" --build "$BUILD" || fail "build failed."+else+ "$CMAKE" --build "$BUILD" --target generals zh_overlay || fail "build failed."+fi# --- tests ---if [ -n "$RUNTESTS" ]; then