Skip to content

Commit

Permalink
Fixed extension dyn library load paths for Win and Mac builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dmrokan committed May 23, 2024
1 parent e28dbb5 commit c8b6d2a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var A = gbl.linspace(0, 1, 3) # Creates a 3 by 1 matrix with entries [ [0], [0.5
- `mat_to_image_data(p_mat_array: Array, p_channel_width: int = 1)`: Places the entries of `GDBlasMat` objects in `p_mat_array` into a `PackedByteArray` which matches the data structure in `Image::get_data`.
```gdscript
var gbl = GDBlas.new()
var dim = Vector2i(640, 480)
var dim = Vector2i(480, 640)
var R = gbl.new_mat(dim)
var G = gbl.new_mat(dim)
var B = gbl.new_mat(dim)
Expand Down
8 changes: 4 additions & 4 deletions demo/addons/gdblas/gdblas.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ compatibility_minimum = "4.2"

[libraries]

macos.debug = "macos/libgdblas.macos.template_debug.framework"
macos.release = "macos/libgdblas.macos.template_release.framework"
windows.debug.x86_64 = "windows/libgdblas.windows.template_debug.x86_64.dll"
windows.release.x86_64 = "windows/libgdblas.windows.template_release.x86_64.dll"
macos.debug = "macos/macos.framework/libgdblas.macos.template_debug"
macos.release = "macos/macos.framework/libgdblas.macos.template_release"
windows.debug.x86_64 = "windows/gdblas.windows.template_debug.x86_64.dll"
windows.release.x86_64 = "windows/gdblas.windows.template_release.x86_64.dll"
linux.debug.x86_64 = "linux/libgdblas.linux.template_debug.x86_64.so"
linux.release.x86_64 = "linux/libgdblas.linux.template_release.x86_64.so"
2 changes: 1 addition & 1 deletion src/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#define GDBLAS_SET_VERSION(a, b, c) (a << 16 | b << 8 | c)

static constexpr uint32_t GDBLAS_VERSION = GDBLAS_SET_VERSION(1, 3, 0);
static constexpr uint32_t GDBLAS_VERSION = GDBLAS_SET_VERSION(1, 3, 1);

#ifdef GDBLAS_DEBUG_PRINT

Expand Down

0 comments on commit c8b6d2a

Please sign in to comment.