-
Notifications
You must be signed in to change notification settings - Fork 1
Building Games For Desktop
Matthew LaRocca edited this page Nov 9, 2024
·
2 revisions
Before beginning, refer to Desktop Configuration to ensure your environment is setup for building on desktop.
Ensure that you have a c++ compiler and CMake installed.
Additionally install the CMake Tools VSCode extension
- Open up the repository root folder in Visual Studio Code.
- In VSCode, from the kit selection menu of the CMake extension, Select the amd64 configuration for your compiler.
- Bring up VS Code Command Palette (
Ctrl/Cmd + Shift + P
) and run CMake: configure
From the VSCode terminal window run the following command
npm run prepare_assets desktop
- Build the Rom by running
CMake: Build
from the command palette or by clicking the build button in the status bar. - The game can be run or launched with the debugger