Skip to content

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.

build(cmake): ship the startup splash from a tracked master

Olcay Seyganeb5320e67fc9
diff --git a/GeneralsMD/Code/CMakeLists.txt b/GeneralsMD/Code/CMakeLists.txt
index d3069da06..9497214d3 100644
--- a/GeneralsMD/Code/CMakeLists.txt
+++ b/GeneralsMD/Code/CMakeLists.txt
@@ -497,7 +497,13 @@ add_custom_command(TARGET generals POST_BUILD
${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/INI/
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/Data/Patch.str
- ${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/)
+ ${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/
+ # The startup splash. WinMain loads it from a loose file next to the exe, so
+ # the fork's own artwork is a tracked master here rather than a hand-made file
+ # in gitignored Run/.
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different
+ ${CMAKE_CURRENT_SOURCE_DIR}/Data/Install_Final.bmp
+ ${CMAKE_CURRENT_SOURCE_DIR}/../Run/)
add_dependencies(generals d3d8to9)
# ===========================================================================
diff --git a/GeneralsMD/Code/Data/Install_Final.bmp b/GeneralsMD/Code/Data/Install_Final.bmp
new file mode 100644
index 000000000..64125f7a6
Binary files /dev/null and b/GeneralsMD/Code/Data/Install_Final.bmp differ