From 0d6ece00397ebb9215ccf1af06cce22c3a94197e Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 28 Aug 2022 11:25:44 -0500 Subject: begin plibsys refactor --- src/CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 069d00a..cca9610 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,6 +2,15 @@ project(mossrose) target_sources(mossrose PUBLIC ${CMAKE_CURRENT_LIST_DIR}/mossrose.c - ${CMAKE_CURRENT_LIST_DIR}/mutex.c ${CMAKE_CURRENT_LIST_DIR}/channel.c ) + + +if (MOSSROSE_BUILD_TESTS) + target_sources(test PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/test/lily-test.c + ${CMAKE_CURRENT_LIST_DIR}/test/mossrose-test.c + ${CMAKE_CURRENT_LIST_DIR}/channel.test.c + ${CMAKE_CURRENT_LIST_DIR}/sound.test.c + ) +endif() -- cgit v1.2.1