From e174c759182e11f85e221eff8684088eebd563a4 Mon Sep 17 00:00:00 2001 From: Richard Date: Sun, 9 Mar 2025 22:33:07 +0000 Subject: initial --- Plugin.cmake | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Plugin.cmake (limited to 'Plugin.cmake') diff --git a/Plugin.cmake b/Plugin.cmake new file mode 100644 index 0000000..099c917 --- /dev/null +++ b/Plugin.cmake @@ -0,0 +1,16 @@ +set(PLUGIN_NAME shout) +set(INCLUDES ${CSOUND_INCLUDE_DIRS}) +set(LIBS "") +list(APPEND INCLUDES "include") + +# Dependencies +find_package(Shout) +find_package(Lame) +check_deps(SHOUT_FOUND) +list(APPEND LIBS ${SHOUT_LIBRARIES} ${LAME_LIBRARIES}) +list(APPEND INCLUDES ${SHOUT_INCLUDE_DIRS} ${LAME_INCLUDE_DIR}) + +# Source files +set(CPPFILES src/opcodes.cpp) +make_plugin(${PLUGIN_NAME} "${CPPFILES}" ${LIBS}) +target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES}) -- cgit v1.2.3