Add Motion Stub to Setsu

This commit is contained in:
Florian Märkl 2021-01-06 11:31:13 +01:00
commit abc9a27208
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
5 changed files with 196 additions and 130 deletions

View file

@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.2)
project(libsetsu)
option(SETSU_BUILD_DEMO "Build testing executable for libsetsu" OFF)
option(SETSU_BUILD_DEMOS "Build testing executables for libsetsu" OFF)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
@ -17,9 +17,8 @@ find_package(Udev REQUIRED)
find_package(Evdev REQUIRED)
target_link_libraries(setsu Udev::libudev Evdev::libevdev)
if(SETSU_BUILD_DEMO)
add_executable(setsu-demo
demo/main.c)
target_link_libraries(setsu-demo setsu)
if(SETSU_BUILD_DEMOS)
add_executable(setsu-demo-touchpad demo/touchpad.c)
target_link_libraries(setsu-demo-touchpad setsu)
endif()