{"repo":"asmaloney/GDExtensionTemplate","free":true,"listed":false,"github":"https://github.com/asmaloney/GDExtensionTemplate","clone":"git clone https://github.com/asmaloney/GDExtensionTemplate.git","description":"📜 A template project for building Godot 4 GDExtensions using CMake","language":"C++","stars":274,"topics":["extension","gdextension","godot","godot-engine","godot4","template"],"license":"Unlicense","category":"game-templates","readme_excerpt":"GDExtensionTemplate This project is meant as a starting point for creating new C++/CMake-based Godot 4 extensions. The goal is to lower the barrier to entry to building a GDExtension using CMake. It is currently set up to work with the Godot 4.2 release (see tags for previous versions). Since the majority of C++ open source projects use CMake, I wanted to offer an alternative to the scons system for building Godot extensions (if you use scons , check out Nathan Franke's gdextension template or Patrick's GDExtensionSummator template). Note: This project is not meant to be a dependency. It is intended to be copied (not forked) and made into your own project. Git itself doesn't provide a nice way to do this (as far as I can tell), but GitHub provides a Use this template button (beside where you clone a repo). This will create a copy for you without all the history. Features This template project sets up a lot of the build details so you can get started and focus on your code: - includes godot-cpp as a submodule and links it statically to your shared library - creates .gdextension files based on your project name - copies over any support files from the support files directory into your extension directory - includes example of adding custom icons to your classes/nodes (see below) - automatically generates a Version.h header file which: - includes a preprocessor macro for conditional compilation - includes git information in the version strings (e.g. GDExtensionTemplate v1.0.1-gf","default_branch":null,"files":null,"tree":[],"storefront":"/r/asmaloney","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/asmaloney/GDExtensionTemplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}