Skip to content

Commit d83cf98

Browse files
committed
Move library binaries into a subdirectory
1 parent f0b41e9 commit d83cf98

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif()
1414
# libs
1515
###############################################################################
1616

17-
# libpd requires pthreads so using this windows port downloaded from the
17+
# libpd requires pthreads so using this windows port downloaded from the
1818
# official site of the win pthread project
1919
if (MSVC)
2020
set(CMAKE_THREAD_LIBS_INIT "${CMAKE_CURRENT_LIST_DIR}/lib/pthreads/lib/pthreadVC2.lib" CACHE PATH "..." FORCE)
@@ -30,8 +30,8 @@ add_subdirectory(lib/libpd)
3030
# install build into example project by default
3131
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
3232
set(
33-
CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/project/addons/pure-data"
34-
CACHE PATH "..."
33+
CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/project/addons/pure-data/bin"
34+
CACHE PATH "..."
3535
FORCE)
3636
endif()
3737

ci/package.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
cp $1/*/lib/*.so project/addons/pure-data/
2-
cp $1/*/lib/*.dll project/addons/pure-data/
3-
cp $1/*/lib/*.dylib project/addons/pure-data/
1+
cp $1/*/lib/*.so project/addons/pure-data/bin/
2+
cp $1/*/lib/*.dll project/addons/pure-data/bin/
3+
cp $1/*/lib/*.dylib project/addons/pure-data/bin/

project/addons/pure-data/pure_data.gdextension

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ compatibility_minimum = "4.2"
55

66
[libraries]
77

8-
linux.debug.x86_64 = "res://addons/libpd/libpd-godot.so"
9-
linux.release.x86_64 = "res://addons/libpd/libpd-godot.so"
10-
windows.debug.x86_64 = "res://addons/libpd/pd-godot.dll"
11-
windows.release.x86_64 = "res://addons/libpd/pd-godot.dll"
12-
macos.debug = "res://addons/pure-data/libpd-godot.dylib"
13-
macos.release = "res://addons/pure-data/libpd-godot.dylib"
8+
linux.debug.x86_64 = "res://addons/libpd/bin/libpd-godot.so"
9+
linux.release.x86_64 = "res://addons/libpd/bin/libpd-godot.so"
10+
windows.debug.x86_64 = "res://addons/libpd/bin/pd-godot.dll"
11+
windows.release.x86_64 = "res://addons/libpd/bin/pd-godot.dll"
12+
macos.debug = "res://addons/pure-data/bin/libpd-godot.dylib"
13+
macos.release = "res://addons/pure-data/bin/libpd-godot.dylib"

0 commit comments

Comments
 (0)