Skip to content

Commit

Permalink
Change build directory to addon folder in demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Decapitated committed Aug 4, 2024
1 parent eb551ac commit 31fcf28
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
File renamed without changes.
16 changes: 8 additions & 8 deletions demo/addons/gdtour/.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ compatibility_minimum = 4.2
reloadable = true

[libraries]
linux.debug.x86_64 = "res://../rust/target/debug/libgodot_tour.so"
linux.release.x86_64 = "res://../rust/target/release/libgodot_tour.so"
windows.debug.x86_64 = "res://../rust/target/debug/godot_tour.dll"
windows.release.x86_64 = "res://../rust/target/release/godot_tour.dll"
macos.debug = "res://../rust/target/debug/libgodot_tour.dylib"
macos.release = "res://../rust/target/release/libgodot_tour.dylib"
macos.debug.arm64 = "res://../rust/target/debug/libgodot_tour.dylib"
macos.release.arm64 = "res://../rust/target/release/libgodot_tour.dylib"
linux.debug.x86_64 = "res://addons/gdtour/target/debug/libgodot_tour.so"
linux.release.x86_64 = "res://addons/gdtour/target/release/libgodot_tour.so"
windows.debug.x86_64 = "res://addons/gdtour/target/debug/godot_tour.dll"
windows.release.x86_64 = "res://addons/gdtour/target/release/godot_tour.dll"
macos.debug = "res://addons/gdtour/target/debug/libgodot_tour.dylib"
macos.release = "res://addons/gdtour/target/release/libgodot_tour.dylib"
macos.debug.arm64 = "res://addons/gdtour/target/debug/libgodot_tour.dylib"
macos.release.arm64 = "res://addons/gdtour/target/release/libgodot_tour.dylib"
2 changes: 1 addition & 1 deletion demo/main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ text = "Click me!"
script = ExtResource("1_sxr4r")

[node name="TheaterRect" type="TheaterRect" parent="." node_paths=PackedStringArray("focused_node", "reference_rect")]
focused_node = NodePath("../PanelContainer/MarginContainer/VBoxContainer/CenterContainer/Button")
focused_node = NodePath("../PanelContainer/MarginContainer/VBoxContainer/RichTextLabel")
reference_rect = NodePath("ReferenceRect")
dim_color = Color(0, 0, 0, 0.74902)
layout_mode = 1
Expand Down
2 changes: 2 additions & 0 deletions rust/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target-dir = "../demo/addons/gdtour/target"

0 comments on commit 31fcf28

Please sign in to comment.