summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: 0453c34373c0f5beb7f3de517f19d756b1c406b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
project(mossrose)

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