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

	add_definitions(-DAFB_BINDING_VERSION=3)
	add_definitions(-DBUILDING_APPFW_BINDING)

	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})