Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/killarexe/gbdk-cmake-template
A GBDK project template using CMake
https://github.com/killarexe/gbdk-cmake-template
Last synced: about 23 hours ago
JSON representation
A GBDK project template using CMake
- Host: GitHub
- URL: https://github.com/killarexe/gbdk-cmake-template
- Owner: Killarexe
- License: cc0-1.0
- Created: 2024-08-25T09:09:31.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-08-25T10:39:29.000Z (2 months ago)
- Last Synced: 2024-08-25T13:34:05.752Z (2 months ago)
- Language: CMake
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GBDK-CMake-Template
## About
This is a simple template to make GameBoy/GameBoy color games using the GBDK.
Btw this template is on the CC0 license so do whatever you want with it.
[![License: CC0-1.0](https://img.shields.io/badge/License-CC0_1.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)
## How to Build?
Just do these commands if it's the first time building it:
```
mkdir build
cd build
cmake ..
make
```Then if you want to rebuild redo the `make` command **in the `build` folder**.
> [!IMPORTANT]
> If you've edited `CMakeLists.txt`, is recommended to delete build folder and redo the first steps!## How to update/change GBDK version?
Edit this line on the `CMakeLists.txt`:
```cmake
9 | set(GBDK_VERSION "4.3.0")
```> [!IMPORTANT]
> If the target version is less or equal than 4.0, then put a 'v' before the version number.
>
> e.g for GBDK 3.1.1:
> ```cmake
> set(GBDK_VERSION "v3.1.1")
> ```# Recommended actions
If you want to clean you build files. I recommend to use the command `make clean_all` instead of the classic `make clean`.