40 lines
651 B
CMake
40 lines
651 B
CMake
# Author: Unai Blazquez
|
|
# License: GPL-3-only
|
|
|
|
add_executable(test_sysfs_reader
|
|
test_sysfs_read.cxx
|
|
)
|
|
|
|
target_link_libraries(test_sysfs_reader
|
|
PRIVATE
|
|
core
|
|
gtest
|
|
gtest_main
|
|
)
|
|
add_test(NAME test_sysfs_reader COMMAND test_sysfs_reader)
|
|
add_executable(test_producer
|
|
test_producer.cxx
|
|
)
|
|
|
|
target_link_libraries(test_producer
|
|
PRIVATE
|
|
core
|
|
gtest
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME test_producer COMMAND test_producer)
|
|
|
|
add_executable(test_ipc
|
|
test_unix_ipc.cxx
|
|
)
|
|
|
|
target_link_libraries(test_ipc
|
|
PRIVATE
|
|
core
|
|
gtest
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME test_ipc COMMAND test_ipc)
|