https://github.com/nonunknown/godot-cpp-base
https://github.com/nonunknown/godot-cpp-base
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/nonunknown/godot-cpp-base
- Owner: nonunknown
- License: mit
- Created: 2020-09-25T18:01:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-20T13:07:51.000Z (over 5 years ago)
- Last Synced: 2025-01-12T17:24:41.064Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scons for Building custom GDNative classes
**News**
* Updated to support NativeIntegration plugin:
- added `src_folder` arg eg: `src_folder = "src/project_name/"`
- ps: using with `target_path` arg eg: `target_path = "bin/project_name/"`
**Description**
This is a modified version of sheep (godot dev) sconstruct file for use on your projects
Also it contains the base for starting with gdnative stuff
**How to use**
* Clone this repo inside any folder or inside your godot project
* Then clone the godot-cpp repo inside this folder
**Configuration**
There's no need to change anything, only if you like to, just make sure to place
your cpp and hpp files inside `src/` folder
**Example Commands**
`scons platform=linux target=release -j4 `
`scons platform=windows target=debug -j3 src_folder="src/windows_stuff target_path="bin/windows_stuff"`