diff --git a/examples/simple_system/CMakeLists.txt b/examples/simple_system/CMakeLists.txt index 4713ca6..9186e7b 100644 --- a/examples/simple_system/CMakeLists.txt +++ b/examples/simple_system/CMakeLists.txt @@ -10,3 +10,5 @@ add_executable (simple_system ) target_link_libraries (simple_system LINK_PUBLIC scc) target_link_libraries (simple_system LINK_PUBLIC ${Boost_LIBRARIES} ) + +add_test(NAME simple_system_test COMMAND simple_system) \ No newline at end of file diff --git a/tests/io-redirector/CMakeLists.txt b/tests/io-redirector/CMakeLists.txt index 9faa928..56eb13a 100644 --- a/tests/io-redirector/CMakeLists.txt +++ b/tests/io-redirector/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.12) -add_executable (io_redirector_test +add_executable (io_redirector main.cpp ) -target_link_libraries (io_redirector_test LINK_PUBLIC scc) +target_link_libraries (io_redirector LINK_PUBLIC scc) + +add_test(NAME io_redirector_test COMMAND io_redirector) \ No newline at end of file diff --git a/tests/ordered_semaphore/CMakeLists.txt b/tests/ordered_semaphore/CMakeLists.txt index de042e0..72f576a 100644 --- a/tests/ordered_semaphore/CMakeLists.txt +++ b/tests/ordered_semaphore/CMakeLists.txt @@ -4,3 +4,5 @@ add_executable (ordered_sem ) target_link_libraries (ordered_sem LINK_PUBLIC scc) target_link_libraries (ordered_sem LINK_PUBLIC ${Boost_LIBRARIES} ) + +add_test(NAME ordered_sem_test COMMAND ordered_sem) \ No newline at end of file