mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Rename Setsu test to demo
This commit is contained in:
parent
686e2a7a9b
commit
da1ca62943
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.2)
|
|||
|
||||
project(libsetsu)
|
||||
|
||||
option(SETSU_BUILD_TEST "Build testing executable for libsetsu" OFF)
|
||||
option(SETSU_BUILD_DEMO "Build testing executable for libsetsu" OFF)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
|
@ -17,9 +17,9 @@ find_package(Udev REQUIRED)
|
|||
find_package(Evdev REQUIRED)
|
||||
target_link_libraries(setsu Udev::libudev Evdev::libevdev)
|
||||
|
||||
if(SETSU_BUILD_TEST)
|
||||
add_executable(setsutest
|
||||
test/main.c)
|
||||
target_link_libraries(setsutest setsu)
|
||||
if(SETSU_BUILD_DEMO)
|
||||
add_executable(setsu-demo
|
||||
demo/main.c)
|
||||
target_link_libraries(setsu-demo setsu)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue