diff --git a/.gitignore b/.gitignore index d61c7c4..941f96e 100644 --- a/.gitignore +++ b/.gitignore @@ -397,4 +397,5 @@ FodyWeavers.xsd # JetBrains Rider *.sln.iml -out/ \ No newline at end of file +out/ +!/res/bin \ No newline at end of file diff --git a/res/bin/Debug.gdextension.in b/res/bin/Debug.gdextension.in new file mode 100644 index 0000000..5148a75 --- /dev/null +++ b/res/bin/Debug.gdextension.in @@ -0,0 +1,8 @@ +[configuration] +entry_symbol = "${TARGET}_init" +compatibility_minimum = 4.2 + +[libraries] +linux.debug.x86_64 = "res://addons/gdrml/bin/${TARGET}/Linux_x86_64/lib${TARGET}d.so" +macos.debug = "res://addons/gdrml/bin/${TARGET}/Darwin_Universal/lib${TARGET}d.dylib" +windows.debug.x86_64 = "res://addons/gdrml/bin/${TARGET}/Windows_AMD64/${TARGET}d.dll" diff --git a/res/bin/Release.gdextension.in b/res/bin/Release.gdextension.in new file mode 100644 index 0000000..47cae94 --- /dev/null +++ b/res/bin/Release.gdextension.in @@ -0,0 +1,8 @@ +[configuration] +entry_symbol = "${TARGET}_init" +compatibility_minimum = 4.2 + +[libraries] +linux.release.x86_64 = "res://addons/gdrml/bin/${TARGET}/Linux_x86_64/lib${TARGET}.so" +macos.release = "res://addons/gdrml/bin/${TARGET}/Darwin_Universal/lib${TARGET}.dylib" +windows.release.x86_64 = "res://addons/gdrml/bin/${TARGET}/Windows_AMD64/${TARGET}.dll"