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

set(PLUGIN_NAME jstick)

# Dependencies
    # None

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