Building Games For Desktop - matthewcpp/framework64 GitHub Wiki
Prerequisites
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 and Configure the project:
- 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
Build assets
From the VSCode terminal window run the following command
npm run prepare_assets desktop
Build and Run Game
- Build the Rom by running
CMake: Buildfrom the command palette or by clicking the build button in the status bar. - The game can be run or launched with the debugger