From ad55c38d02090e1ac1ba0d2b8e67b897f7f0b0d5 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Sat, 14 Mar 2026 10:59:58 +0000 Subject: [PATCH] Implement copilot suggestions --- CMakeLists.txt | 2 +- Minecraft.Client/CMakeLists.txt | 4 ++-- README.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9e133f42..edfc61bcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ function(configure_msvc_target target) $<$,$>:/W0> $<$:/MP> $<$:/FS> - $<$:/GS-> + $<$:/GS> $<$:/EHsc> $<$:/GR> $<$,$>:/Od> diff --git a/Minecraft.Client/CMakeLists.txt b/Minecraft.Client/CMakeLists.txt index c07ad63f7..4e4116190 100644 --- a/Minecraft.Client/CMakeLists.txt +++ b/Minecraft.Client/CMakeLists.txt @@ -17,7 +17,7 @@ set(MINECRAFT_CLIENT_SOURCES $<$:${MINECRAFT_CLIENT_PS3}> $<$:${MINECRAFT_CLIENT_PSVITA}> $<$:${MINECRAFT_CLIENT_WINDOWS}> - $<$:${MINECRAFT_CLIENT_XBOX360}> + $<$:${MINECRAFT_CLIENT_XBOX360}> ${SOURCES_COMMON} ) @@ -47,7 +47,7 @@ if(MSVC) endif() set_target_properties(Minecraft.Client PROPERTIES - VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" + VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$" ) target_link_libraries(Minecraft.Client PRIVATE diff --git a/README.md b/README.md index 1963add9a..ea7665eab 100644 --- a/README.md +++ b/README.md @@ -80,13 +80,13 @@ Minecraft.Client.exe -name Steve -fullscreen 1. Install [Visual Studio 2022](https://aka.ms/vs/17/release/vs_community.exe) or [newer](https://visualstudio.microsoft.com/downloads/). 2. Clone the repository. 3. Open the project folder from Visual Studio. -5. Set the build configuration to **Windows - Debug** (Release is also ok but missing some debug features), then build and run. +4. Set the build configuration to **Windows - Debug** (Release is also ok but missing some debug features), then build and run. ### CMake (Windows x64) ```powershell -cmake -B out/build --preset windows64 -cmake --build out/build --preset windows64-release --target Minecraft.Client +cmake --preset windows64 +cmake --build --preset windows64-release --target Minecraft.Client ``` For more information, see [COMPILE.md](COMPILE.md).