mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Add Motion Stub to Setsu
This commit is contained in:
parent
0e324a41a0
commit
abc9a27208
5 changed files with 196 additions and 130 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue