From 359a8770a62be951d978ab41005e7d0bc5e466bd Mon Sep 17 00:00:00 2001 From: Richard Date: Sat, 8 Mar 2025 14:59:31 +0000 Subject: initial --- Plugin.cmake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Plugin.cmake (limited to 'Plugin.cmake') 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}) -- cgit v1.2.3