Add CMake build system and source files for Minecraft Client

- Created Compile.md with detailed instructions for building the project using Visual Studio and CMake.
- Added ClientSources.cmake to define the source files for the Minecraft Client.
- Implemented CopyAssets.cmake to handle asset copying during the build process.
- Introduced WorldSources.cmake to list the source files for Minecraft world functionalities.
This commit is contained in:
isaiah
2026-03-01 15:07:50 -07:00
parent 071d4f6599
commit a0edf193fe
7 changed files with 1368 additions and 0 deletions

View File

@@ -42,6 +42,13 @@ This project contains the source code of Minecraft Legacy Console Edition v1.3.0
4. Make sure `Minecraft.Client` is set as the Startup Project
5. Set the build configuration to **Debug** (Release is also OK but has some bugs) and the target platform to **Windows64**, then build and run
### CMake (Windows x64)
```powershell
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
cmake --build build --config Debug --target MinecraftClient
```
## Known Issues
- Builds for other platforms have not been tested and are most likely non-functional