aboutsummaryrefslogtreecommitdiffstats
path: root/binding/CMakeLists.txt
blob: c199ad2ab5f7ae7c76f53cb623b945048c5f5b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PROJECT_TARGET_ADD(audiomixer-binding)

	add_definitions(-DAFB_BINDING_VERSION=3)

	set(audiomixer_SOURCES
		audiomixer-binding.c
		audiomixer.c
	)

	add_library(${TARGET_NAME} MODULE ${audiomixer_SOURCES})

	SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
		PREFIX "libafm-"
		LABELS "BINDING"
		LINK_FLAGS ${BINDINGS_LINK_FLAG}
		OUTPUT_NAME ${TARGET_NAME}
	)

	TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries})