project(mossrose) target_sources(mossrose PUBLIC ${CMAKE_CURRENT_LIST_DIR}/mossrose.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()