aboutsummaryrefslogtreecommitdiff
path: root/Plugin.cmake
blob: d3145028899c9f413686eba65cdeb9c860bf18d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if(NOT LINUX)
    message(FATAL_ERROR "Only Linux is supported")
endif()

set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include")
set(PLUGIN_NAME memread)

# Dependencies
    # None

# Source files
set(CPPFILES src/opcodes.cpp src/pmparser.cpp src/maketable.cpp)
make_plugin(${PLUGIN_NAME} "${CPPFILES}")
target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES})