mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 06:00:04 +02:00
Add opt-in visible-overlay laser mode setting
This commit is contained in:
1 parent
f80da228b3
commit
a9d6762ebd
12 files changed
+225
-28
No files matched your search
+5
-1
@@ -46,7 +46,7 @@ add_executable(frameyap src/main.cpp)
|
||||
target_link_libraries(frameyap PRIVATE frameyap_core)
|
||||
target_compile_definitions(frameyap PRIVATE FRAMEYAP_VERSION="${FRAMEYAP_VERSION}")
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
add_library(frameyap_mount src/mount.cpp)
|
||||
add_library(frameyap_mount src/mount.cpp src/laser_setting.cpp)
|
||||
target_include_directories(frameyap_mount PUBLIC src)
|
||||
add_library(frameyap_worker src/worker.cpp)
|
||||
target_include_directories(frameyap_worker PUBLIC src)
|
||||
@@ -116,6 +116,10 @@ if(BUILD_TESTING AND NOT CMAKE_CROSSCOMPILING)
|
||||
add_executable(frameyap_mount_test tests/mount_test.cpp)
|
||||
target_link_libraries(frameyap_mount_test PRIVATE frameyap_mount)
|
||||
add_test(NAME frameyap.mount COMMAND frameyap_mount_test)
|
||||
add_executable(frameyap_laser_setting_test tests/laser_setting_test.cpp)
|
||||
target_link_libraries(frameyap_laser_setting_test PRIVATE frameyap_mount)
|
||||
target_compile_options(frameyap_laser_setting_test PRIVATE -UNDEBUG)
|
||||
add_test(NAME frameyap.laser_setting COMMAND frameyap_laser_setting_test)
|
||||
add_executable(frameyap_lock_test tests/lock_test.cpp)
|
||||
target_include_directories(frameyap_lock_test PRIVATE src)
|
||||
add_test(NAME frameyap.instance_lock COMMAND frameyap_lock_test)
|
||||
|
||||
Reference in new issue
Block a user