summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: cca96105f77ef0f3591f8b769d08436d29d49637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()