From 954273e1ca854b40c4bc8a79ddea6ae627ae46c0 Mon Sep 17 00:00:00 2001 From: azphina Date: Wed, 6 May 2026 19:01:35 -0700 Subject: [PATCH] Correct MacOS version number and add MacOS debugging to VS Code --- .vscode/launch.json | 16 ++++++++++------ CMakeLists.txt | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 368743c..1a5704d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -34,10 +34,12 @@ }, { "name": "Debug Game (macOSUniversal)", - "type": "node-terminal", + "type": "lldb", "request": "launch", - "preLaunchTask": "Build Game (macOSUniversal, Debug)", - "command": "open \"${workspaceFolder}/Bin/macOSUniversal/Debug/MoonChildFE.app\"", + "program": "${workspaceFolder}/Bin/macOSUniversal/Debug/MoonChildFE.app", + "args": [], + "cwd": "${workspaceFolder}", + "preLaunchTask": "Build Game (macOSUniversal, Debug)" }, { "name": "Run Game (WindowsX64)", @@ -72,10 +74,12 @@ }, { "name": "Run Game (macOSUniversal)", - "type": "node-terminal", + "type": "lldb", "request": "launch", - "preLaunchTask": "Build Game (macOSUniversal, Release)", - "command": "open \"${workspaceFolder}/Bin/macOSUniversal/Release/MoonChildFE.app\"", + "program": "${workspaceFolder}/Bin/macOSUniversal/Release/MoonChildFE.app", + "args": [], + "cwd": "${workspaceFolder}", + "preLaunchTask": "Build Game (macOSUniversal, Release)" }, ] } diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a5fcf9..14e1024 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.25.1) set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64") set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0) -project(MoonChildFE LANGUAGES C CXX VERSION 1.5.0) +project(MoonChildFE LANGUAGES C CXX VERSION 1.0.5) set(EXECUTABLE_NAME MoonChildFE) set(CMAKE_EXPORT_COMPILE_COMMANDS ON)