got native cpp extension to work

This commit is contained in:
2022-05-12 12:57:00 -04:00
parent bf7650bf1d
commit e7201941fe
19 changed files with 125 additions and 155 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,12 @@
[configuration]
entry_symbol = "example_library_init"
[libraries]
linux.64.debug = "bin/libgdexample.linux.debug.64.so"
linux.64.release = "bin/libgdexample.linux.release.64.so"
windows.64.debug = "bin/libgdexample.windows.debug.64.dll"
windows.64.release = "bin/libgdexample.windows.release.64.dll"
macos.debug = "bin/libgdexample.debug.framework"
macos.release = "bin/libgdexample.release.framework"

View File

@ -1,3 +1,14 @@
[gd_scene format=3 uid="uid://bqqewt05ne1ad"]
[gd_scene load_steps=2 format=3 uid="uid://bqqewt05ne1ad"]
[ext_resource type="Texture2D" uid="uid://cnv7sgufjc3fk" path="res://icon.png" id="1_tqon5"]
[node name="main" type="Node"]
[node name="GDExample" type="GDExample" parent="."]
position = Vector2(7.83596, 18.1283)
texture = ExtResource( "1_tqon5" )
[node name="Sprite2D" type="Sprite2D" parent="."]
modulate = Color(1, 0.309804, 0.580392, 1)
position = Vector2(214, 2)
texture = ExtResource( "1_tqon5" )

View File

@ -11,5 +11,10 @@ config_version=5
[application]
config/name="SymbolEngine"
run/main_scene="res://main.tscn"
config/icon="res://icon.png"
config/features=PackedStringArray("4.0", "Vulkan Clustered")
[native_extensions]
paths=["res://../Source/gdexample.gdextension"]