-
Notifications
You must be signed in to change notification settings - Fork 63
build_guides
This page provides an overview of the official and community-supported build guides for TheSuperHackers project. It includes both the official build guides for the main repository and guides for community forks of the project. The guides cover different environments, configurations, and setups for building the project.
Before diving into the build guides, it's important to understand the different build configurations used in the project. These configurations dictate how the project is built, whether for debugging, profiling, release, or internal development purposes. Some common configurations include:
- Release: Optimized for end-users, providing a smaller, faster executable with no debugging information.
- Debug: Includes debugging information, making it easier to trace and debug the code, but without optimization to ensure ease of debugging.
- Internal: Includes debugging information and optimizations, used primarily by developers for testing and internal purposes.
- Profile: Used for performance profiling, with optimizations enabled and additional debugging options to collect profiling data.
Each configuration is designed for a different purpose, whether you're building for development, debugging, testing, or releasing the final product. You can find more details about the build configurations in the Build Configurations page.
The project supports multiple architectures and toolchains, which is why there are various build guides tailored to different environments. An architecture refers to the target platform, such as x86 (32-bit) or x64 (64-bit), while a toolchain is the set of tools (compilers, linkers, etc.) used to build the project. Different toolchains may support different optimizations, libraries, or debugging features that influence how the build process is conducted.
Warning
The Wiki is under work in progress. The content is subject to change and may not be complete. Not all build guides are available yet, but you can contribute by adding new guides or updating existing ones.
This CMake Guide provides an overview of how to configure and build Generals and its expansion Zero Hour using CMake via the command line. It covers the various options and flags defined in the CMake files that control the build process, allowing you to choose different components of the game and tools to build.
These are the official guides provided by TheSuperHackers for building the project using various toolchains and environments.
-
Using pure Visual Studio 6 (x86) (Windows)
- A guide for building the project using only Visual Studio 6 on Windows for the x86 architecture. Build with pure Visual Studio 6 (x86) (Windows)
-
Using Cmake & Visual Studio 6 (x86) (Windows)
- A guide for building the project using CMake with Visual Studio 6 on Windows for the x86 architecture. Build with CMake & Visual Studio 6 (x86) (Windows)
-
CLion & VC6 Toolchain
- A guide for using CLion with the Visual Studio 6 (VC6) toolchain for building the project. Build with CLion & VC6 Toolchain
-
Docker & VC6
- A guide for setting up Docker with the Visual Studio 6 (VC6) toolchain for building the project in a containerized environment. Build with Docker & VC6
-
Using Cmake (x86) (Windows)
- A guide for building the project using CMake with Visual Studio 2022 on Windows for the x86 architecture. Build with CMake (x86) (Windows)
-
Using Cmake (Linux)
- A guide for building the project using CMake with Visual Studio 2022 on Linux. Build with CMake (Linux)
These are the guides provided for community-supported forks of TheSuperHackers project. These forks are customized versions of the original repository and may have unique build setups.
-
MSVC22 (x64) Generals Only (Windows)
- A guide for building a custom fork of the project using MSVC 2022 (x64) for Windows, specifically tailored for the "Generals Only" version. Build with MSVC22 (x64) Generals Only (Windows)
- How to Get Involved
- How to Contribution
- Replays for testing
- Community forks
- License
- Credits
- Changelog
- FAQ
- Known Issues
- Contact & Community
-
Visual Studio 6 Guides:
-
Visual Studio 2022 Guides:
- DirectX
- STLport
- Max4SDK
- NVASM
- Benchmark
- MilesSoundSystem
- Bink
- SafeDisk
- Asimp3
- GameSpy
- ZLib
- LZHCompress