Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.75 KB

creating.md

File metadata and controls

45 lines (28 loc) · 1.75 KB
layout title parent nav_order description
default
Creating a New Mod
Getting Started
3
How to set up and create a new mod using the Geode CLI

Creating a new Mod

These are instructions to create an empty mod.

Prerequisites:

Development Guide

  1. Install VS Code

  2. Install the C/C++ and CMake Tools extensions for VS Code

  3. Open up the command line and navigate to any directory where you'd like to create the project

  4. Run geode new <name> and follow the prompts that follow

  5. Open up the new directory in VS Code

  6. Press F1 to open the Command Palette and run CMake: Configure (make sure to select an x86 generator)

  7. Open up the Command Palette again and run CMake: Select Variant (select either Release or RelWithDebInfo)

Alternatively, you can run CMake manually without using VSCode or using another program (such as Sublime Text), however using the VSCode environment is highly recommended for Geode projects.

Building With VSCode

To build with VSCode, simply press the Build button on the bottom bar or use the hotkey F7.

Building manually

  1. cmake -B build -T host=x64 -A win32

  2. cmake --build build --config Release