From d4701791a2d04ff52bea456ebb34f4d79819f97e Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Tue, 9 Apr 2024 22:58:44 +0100 Subject: initial --- Plugin.cmake | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Plugin.cmake (limited to 'Plugin.cmake') diff --git a/Plugin.cmake b/Plugin.cmake new file mode 100644 index 0000000..53368aa --- /dev/null +++ b/Plugin.cmake @@ -0,0 +1,14 @@ +set(PLUGIN_NAME curl) +set(LIBS "") +set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include") + +# Dependencies +find_package(CURL) +check_deps(CURL_FOUND) +list(APPEND LIBS ${CURL_LIBRARIES}) +list(APPEND INCLUDES ${CURL_INCLUDE_DIRS}) + +# Source files +set(CPPFILES src/opcodes.cpp) +make_plugin(${PLUGIN_NAME} "${CPPFILES}") +target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES}) -- cgit v1.2.3