diff options
author | Richard <q@1bpm.net> | 2025-03-08 14:59:31 +0000 |
---|---|---|
committer | Richard <q@1bpm.net> | 2025-03-08 14:59:31 +0000 |
commit | 359a8770a62be951d978ab41005e7d0bc5e466bd (patch) | |
tree | 0eb7883afc10115c1c8333c1c5566d98e1d9a940 /Plugin.cmake | |
download | csound-guttersynth-359a8770a62be951d978ab41005e7d0bc5e466bd.tar.gz csound-guttersynth-359a8770a62be951d978ab41005e7d0bc5e466bd.tar.bz2 csound-guttersynth-359a8770a62be951d978ab41005e7d0bc5e466bd.zip |
initial
Diffstat (limited to 'Plugin.cmake')
-rw-r--r-- | Plugin.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Plugin.cmake b/Plugin.cmake new file mode 100644 index 0000000..b8a169b --- /dev/null +++ b/Plugin.cmake @@ -0,0 +1,15 @@ +set(PLUGIN_NAME gutter) +set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include") +set(LIBS "") + +# Dependencies +find_package(Guttersynth) +check_deps(Guttersynth_FOUND) +list(APPEND INCLUDES ${Guttersynth_INCLUDE_DIR}) +list(APPEND LIBS ${Guttersynth_LIBRARY}) + + +# Source files +set(CPPFILES src/opcodes.cpp) +make_plugin(${PLUGIN_NAME} "${CPPFILES}" ${LIBS}) +target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES}) |