Skip to content

Commit e755d00

Browse files
committed
update from mac
1 parent d4daf07 commit e755d00

File tree

5 files changed

+26
-11
lines changed

5 files changed

+26
-11
lines changed

.github/workflows/all.yml

-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ jobs:
6767
cmake .. -DCMAKE_BUILD_TYPE=Release
6868
cmake --build . --config Release
6969
ls -r *
70-
mv libChucKDesignerCHOP.so ChucKDesignerCHOP.plugin
71-
mv libChucKListenerCHOP.so ChucKListenerCHOP.plugin
7270
7371
- name: Make distribution
7472
run: |

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build
2-
ChucKDesigner.[0-9]*.toe
2+
ChucKDesigner.[0-9]*.toe
3+
.DS_STORE

CMakeLists.txt

+8
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,15 @@ else()
113113
target_link_libraries(${PROJECT_NAME} PUBLIC "-framework CoreFoundation" "-framework CoreMIDI" "-framework CoreAudio" "-framework IOKit" "-framework Carbon" "-framework AppKit" "-framework Foundation")
114114
endif()
115115

116+
if (MSVC)
116117
add_custom_command(TARGET ${PROJECT_NAME}
117118
POST_BUILD
118119
COMMAND ${CMAKE_COMMAND} -E copy_if_different
119120
"$<TARGET_FILE:ChucKDesignerShared>"
120121
${CMAKE_SOURCE_DIR}/Plugins
121122
# "%USERPROFILE%/Documents/Derivative/Plugins"
122123
)
124+
endif()
123125

124126
###################### ChucKListenerCHOP
125127

@@ -135,6 +137,7 @@ add_library(ChucKListenerCHOP MODULE
135137
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/TouchDesigner/GL_Extensions.h
136138
)
137139
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)
140+
set_target_properties(${PROJECT_NAME} PROPERTIES BUNDLE true BUNDLE_EXTENSION "plugin")
138141

139142
# Include header directories
140143
target_include_directories(ChucKListenerCHOP PUBLIC
@@ -183,13 +186,15 @@ else()
183186
target_link_libraries(${PROJECT_NAME} PUBLIC "-framework CoreFoundation" "-framework CoreMIDI" "-framework CoreAudio")
184187
endif()
185188

189+
if(MSVC)
186190
add_custom_command(TARGET ${PROJECT_NAME}
187191
POST_BUILD
188192
COMMAND ${CMAKE_COMMAND} -E copy_if_different
189193
"$<TARGET_FILE:ChucKListenerCHOP>"
190194
${CMAKE_SOURCE_DIR}/Plugins
191195
# "%USERPROFILE%/Documents/Derivative/Plugins"
192196
)
197+
endif()
193198

194199
###################### ChucKDesignerCHOP
195200

@@ -204,6 +209,7 @@ add_library(ChucKDesignerCHOP MODULE
204209
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/TouchDesigner/GL_Extensions.h
205210
)
206211
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)
212+
set_target_properties(${PROJECT_NAME} PROPERTIES BUNDLE true BUNDLE_EXTENSION "plugin")
207213

208214
# Include header directories
209215
target_include_directories(ChucKDesignerCHOP PUBLIC
@@ -252,13 +258,15 @@ else()
252258
target_link_libraries(${PROJECT_NAME} PUBLIC "-framework CoreFoundation" "-framework CoreMIDI" "-framework CoreAudio")
253259
endif()
254260

261+
if(MSVC)
255262
add_custom_command(TARGET ${PROJECT_NAME}
256263
POST_BUILD
257264
COMMAND ${CMAKE_COMMAND} -E copy_if_different
258265
"$<TARGET_FILE:ChucKDesignerCHOP>"
259266
${CMAKE_SOURCE_DIR}/Plugins
260267
# "%USERPROFILE%/Documents/Derivative/Plugins"
261268
)
269+
endif()
262270

263271
set_target_properties(${PROJECT_NAME} PROPERTIES
264272
VS_DEBUGGER_COMMAND "C:\\Program Files\\Derivative\\TouchDesigner\\bin\\TouchDesigner.exe"

Plugins/.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
*.json
2-
*.dll
2+
*.dll
3+
*.plugin
4+
*.dylib

README.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,28 @@
22

33
[ChucK](https://chuck.stanford.edu/) + [TouchDesigner](https://derivative.ca/)
44

5-
ChucKDesigner is an integration of the ChucK music/audio programming language with the TouchDesigner visual programming language. ChucKDesigner is similar in spirit to [Chunity](https://chuck.stanford.edu/chunity/), the combination of ChucK and the Unity game engine. With ChucKDesigner, TouchDesigner can control ChucK code via user interfaces and [channel operator](https://docs.derivative.ca/Channel) streams. TouchDesigner can also fetch audio streams and float variables from ChucK. Please use the [issues](https://github.com/DBraun/ChucKDesigner/issues) and [discussions](https://github.com/DBraun/ChucKDesigner/discussions) pages on Github.
5+
ChucKDesigner is an integration of the ChucK music/audio programming language with the TouchDesigner visual programming language. With ChucKDesigner, TouchDesigner can control ChucK code via user interfaces and [channel operator](https://docs.derivative.ca/Channel) streams. TouchDesigner can also fetch audio streams and float variables from ChucK. Please use the [issues](https://github.com/DBraun/ChucKDesigner/issues) and [discussions](https://github.com/DBraun/ChucKDesigner/discussions) pages on Github.
66

77
## Installation
88

9-
### Download ChucK
9+
### ChucK
1010

11-
[Downloading ChucK](https://chuck.stanford.edu/release/) separately is optional but highly encouraged!
11+
[Downloading ChucK](https://chuck.stanford.edu/release/) separately is optional but highly encouraged! Use miniAudicle and the examples that come with the installation to learn ChucK.
12+
13+
### Windows
14+
15+
Go to the [Releases](https://github.com/DBraun/ChucKDesigner/releases) and download the latest `.dll` files. Place them in the Plugins folder.
1216

1317
### MacOS
1418

19+
**The macOS builds are not yet working.**
20+
1521
Go to the [Releases](https://github.com/DBraun/ChucKDesigner/releases) and download the latest `.plugin` and `.dylib` files. Place them in the Plugins folder.
1622

17-
### Windows
23+
## The Future
1824

19-
Go to the [Releases](https://github.com/DBraun/ChucKDesigner/releases) and download the latest `.dll` files. Place them in the Plugins folder.
25+
The 2021 **experimental** build of TouchDesigner supports a more [powerful interface for Custom Operators](https://docs.derivative.ca/Release_Notes/2021.30000#Custom_Operators). In the future, ChucKDesigner will use this feature to share more variable types such as bools, integers, and more special cases of arrays bidirectionally between TouchDesigner and ChucK. It will also be possible to have Python callbacks inside TouchDesigner when global ChucK variables change.
2026

21-
## The Future
27+
## Background
2228

23-
The new 2021 experimental build of TouchDesigner supports a more [powerful interface for Custom Operators](https://docs.derivative.ca/Release_Notes/2021.30000#Custom_Operators). In the future, ChucKDesigner will use this feature to share more variable types such as bools, integers, and more special cases of arrays bidirectionally between TouchDesigner and ChucK. It will also be possible to have Python callbacks inside TouchDesigner when ChucK variable changes.
29+
ChucKDesigner is similar in spirit to [Chunity](https://chuck.stanford.edu/chunity/), the combination of ChucK and the Unity game engine.

0 commit comments

Comments
 (0)