From 5109b8c07a8c47ead95a9db3755e40176a96a7a4 Mon Sep 17 00:00:00 2001 From: isaiah Date: Sun, 1 Mar 2026 15:07:50 -0700 Subject: 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. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 6be5cd7e..dd9a7965 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3