blob: 099c917c7f58bf45ec54425caa096fd4e047a30f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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})
|