diff options
author | Richard Knight <q@1bpm.net> | 2024-04-09 22:58:44 +0100 |
---|---|---|
committer | Richard Knight <q@1bpm.net> | 2024-04-09 22:58:44 +0100 |
commit | d4701791a2d04ff52bea456ebb34f4d79819f97e (patch) | |
tree | c582c6b10b271c550c9618cb0d818c5b27a98620 /Plugin.cmake | |
download | csound-curl-master.tar.gz csound-curl-master.tar.bz2 csound-curl-master.zip |
Diffstat (limited to 'Plugin.cmake')
-rw-r--r-- | Plugin.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
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}) |