diff options
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}) |