Skip to content

Commit 6acb00a

Browse files
committed
Setup Addons Files
1 parent 6406b72 commit 6acb00a

File tree

7 files changed

+136
-2
lines changed

7 files changed

+136
-2
lines changed

.github/workflows/builds.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,13 @@ jobs:
110110
env:
111111
SCONS_CACHE: ${{ github.workspace }}/.scons-cache/
112112
run: |
113-
scons target=${{ matrix.target-type }} production=${{ matrix.target-type == 'template_release' && 'yes' || 'no' }} debug_symbols=${{ matrix.target-type == 'template_debug' && 'yes' || 'no' }} platform=${{ matrix.target.platform }} arch=${{ matrix.target.arch }} precision=${{ matrix.float-precision }}
113+
scons target=${{ matrix.target-type }} \
114+
production=${{ matrix.target-type == 'template_release' && 'yes' || 'no' }} \
115+
debug_symbols=${{ matrix.target-type == 'template_debug' && 'yes' || 'no' }} \
116+
platform=${{ matrix.target.platform }} \
117+
arch=${{ matrix.target.arch }} \
118+
precision=${{ matrix.float-precision }} \
119+
build_dir=${{ github.workspace }}/bin/${{ matrix.target.platform }}-${{ matrix.target.arch }}-${{ matrix.float-precision }}-${{ matrix.target-type }}/
114120
115121
- name: Save .scons_cache
116122
uses: ./godot-cpp/.github/actions/godot-cache-save
@@ -129,7 +135,7 @@ jobs:
129135
- name: Upload Artifact
130136
uses: actions/upload-artifact@v4
131137
with:
132-
name: kuzugd-${{ matrix.target.platform }}-${{ matrix.target.arch }}-${{ matrix.float-precision }}-${{ matrix.target-type }}
138+
name: kuzugd
133139
path: |
134140
${{ github.workspace }}/bin/**
135141

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
*.gen.*
33
.godot/
44

5+
#addon binaries
6+
addons/KuzuGD/bin/*
7+
!addons/KuzuGD/bin/.gitkeep
8+
59
#Database
610
demo/data/database/kuzu_db/*
711
demo/data/database/kuzu_db/*.wal

addons/KuzuGD/LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022-2024 Kùzu Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

addons/KuzuGD/bin/.gitkeep

Whitespace-only changes.

addons/KuzuGD/kuzugd.gd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@tool
2+
extends EditorPlugin
3+
4+
func _enter_tree():
5+
pass
6+
7+
func _exit_tree():
8+
pass

addons/KuzuGD/kuzugd.gdextension

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
[configuration]
2+
3+
entry_symbol = "kuzugd_init"
4+
compatibility_minimum = "4.1"
5+
6+
[libraries]
7+
; Relative paths ensure that our GDExtension can be placed anywhere in the project directory.
8+
macos.single.debug = "res://addons/KuzuGD/macos/KuzuGD.macos.template_debug.dylib"
9+
macos.double.debug = "res://addons/KuzuGD/macos/KuzuGD.macos.template_debug.double.dylib"
10+
macos.single.release = "res://addons/KuzuGD/macos/KuzuGD.macos.template_release.dylib"
11+
macos.double.release = "res://addons/KuzuGD/macos/KuzuGD.macos.template_debug.double.dylib"
12+
13+
ios.arm64.single.debug = "res://addons/KuzuGD/ios/KuzuGD.ios.template_debug.arm64.dylib"
14+
ios.arm64.double.debug = "res://addons/KuzuGD/ios/KuzuGD.ios.template_debug.arm64.double.dylib"
15+
ios.arm64.single.release = "res://addons/KuzuGD/ios/KuzuGD.ios.template_release.arm64.dylib"
16+
ios.arm64.double.release = "res://addons/KuzuGD/ios/KuzuGD.ios.template_release.arm64.double.dylib"
17+
18+
windows.x86_32.single.debug = "res://addons/KuzuGD/windows/KuzuGD.windows.template_debug.x86_32.dll"
19+
windows.x86_32.double.debug = "res://addons/KuzuGD/windows/KuzuGD.windows.template_debug.x86_32.double.dll"
20+
windows.x86_32.single.release = "res://addons/KuzuGD/windows/KuzuGD.windows.template_release.x86_32.dll"
21+
windows.x86_32.double.release = "res://addons/KuzuGD/windows/KuzuGD.windows.template_release.x86_32.double.dll"
22+
23+
windows.x86_64.single.debug = "res://addons/KuzuGD/windows/KuzuGD.windows.template_debug.x86_64.dll"
24+
windows.x86_64.double.debug = "res://addons/KuzuGD/windows/KuzuGD.windows.template_debug.x86_64.double.dll"
25+
windows.x86_64.single.release = "res://addons/KuzuGD/windows/KuzuGD.windows.template_release.x86_64.dll"
26+
windows.x86_64.double.release = "res://addons/KuzuGD/windows/KuzuGD.windows.template_release.x86_64.double.dll"
27+
28+
linux.x86_64.single.debug = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_debug.x86_64.so"
29+
linux.x86_64.double.debug = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_debug.x86_64.double.so"
30+
linux.x86_64.single.release = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_release.x86_64.so"
31+
linux.x86_64.double.release = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_release.x86_64.double.so"
32+
33+
linux.arm64.single.debug = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_debug.arm64.so"
34+
linux.arm64.double.debug = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_debug.arm64.double.so"
35+
linux.arm64.single.release = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_release.arm64.so"
36+
linux.arm64.double.release = "res://addons/KuzuGD/linux/libKuzuGD.linux.template_release.arm64.double.so"
37+
38+
android.x86_64.single.debug = "res://addons/KuzuGD/android/KuzuGD.android.template_debug.x86_64.so"
39+
android.x86_64.double.debug = "res://addons/KuzuGD/android/KuzuGD.android.template_debug.x86_64.double.so"
40+
android.x86_64.single.release = "res://addons/KuzuGD/android/KuzuGD.android.template_release.x86_64.so"
41+
android.x86_64.double.release = "res://addons/KuzuGD/android/KuzuGD.android.template_release.x86_64.double.so"
42+
43+
android.arm64.single.debug = "res://addons/KuzuGD/android/KuzuGD.android.template_debug.arm64.so"
44+
android.arm64.double.debug = "res://addons/KuzuGD/android/KuzuGD.android.template_debug.arm64.double.so"
45+
android.arm64.single.release = "res://addons/KuzuGD/android/KuzuGD.android.template_release.arm64.so"
46+
android.arm64.double.release = "res://addons/KuzuGD/android/KuzuGD.android.template_release.arm64.double.so"
47+
48+
[dependencies]
49+
50+
macos.single.debug = "res://addons/KuzuGD/macos/libkuzu.dylib"
51+
macos.double.debug = "res://addons/KuzuGD/macos/libkuzu.dylib"
52+
macos.single.release = "res://addons/KuzuGD/macos/libkuzu.dylib"
53+
macos.double.release = "res://addons/KuzuGD/macos/libkuzu.dylib"
54+
55+
ios.arm64.single.debug = "res://addons/KuzuGD/ios/libkuzu.dylib"
56+
ios.arm64.double.debug = "res://addons/KuzuGD/ios/libkuzu.dylib"
57+
ios.arm64.single.release = "res://addons/KuzuGD/ios/libkuzu.dylib"
58+
ios.arm64.double.release = "res://addons/KuzuGD/ios/libkuzu.dylib"
59+
60+
windows.x86_32.single.debug = "res://addons/KuzuGD/windows/kuzu_shared.dll"
61+
windows.x86_32.double.debug = "res://addons/KuzuGD/windows/kuzu_shared.dll"
62+
windows.x86_32.single.release = "res://addons/KuzuGD/windows/kuzu_shared.dll"
63+
windows.x86_32.double.release = "res://addons/KuzuGD/windows/kuzu_shared.dll"
64+
65+
windows.x86_64.single.debug = "res://addons/KuzuGD/windows/kuzu_shared.dll"
66+
windows.x86_64.double.debug = "res://addons/KuzuGD/windows/kuzu_shared.dll"
67+
windows.x86_64.single.release = "res://addons/KuzuGD/windows/kuzu_shared.dll"
68+
windows.x86_64.double.release = "res://addons/KuzuGD/windows/kuzu_shared.dll"
69+
70+
linux.x86_64.single.debug = "res://addons/KuzuGD/linux/libkuzu.so"
71+
linux.x86_64.double.debug = "res://addons/KuzuGD/linux/libkuzu.so"
72+
linux.x86_64.single.release = "res://addons/KuzuGD/linux/libkuzu.so"
73+
linux.x86_64.double.release = "res://addons/KuzuGD/linux/libkuzu.so"
74+
75+
linux.arm64.single.debug = "res://addons/KuzuGD/linux/libkuzu.so"
76+
linux.arm64.double.debug = "res://addons/KuzuGD/linux/libkuzu.so"
77+
linux.arm64.single.release = "res://addons/KuzuGD/linux/libkuzu.so"
78+
linux.arm64.double.release = "res://addons/KuzuGD/linux/libkuzu.so"
79+
80+
android.x86_64.single.debug = "res://addons/KuzuGD/android/libkuzu.so"
81+
android.x86_64.double.debug = "res://addons/KuzuGD/android/libkuzu.so"
82+
android.x86_64.single.release = "res://addons/KuzuGD/android/libkuzu.so"
83+
android.x86_64.double.release = "res://addons/KuzuGD/android/libkuzu.so"
84+
85+
android.arm64.single.debug = "res://addons/KuzuGD/android/libkuzu.so"
86+
android.arm64.double.debug = "res://addons/KuzuGD/android/libkuzu.so"
87+
android.arm64.single.release = "res://addons/KuzuGD/android/libkuzu.so"
88+
android.arm64.double.release = "res://addons/KuzuGD/android/libkuzu.so"

addons/KuzuGD/plugin.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[asset]
2+
name="KuzuGD"
3+
description="Property Graph database for Godot."
4+
author="kthecoder"
5+
version="0.10.0"
6+
godot_version="4.4"
7+
repository="https://github.com/kthecoder/KuzuGD"

0 commit comments

Comments
 (0)