summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/ioprocessor/CMakeLists.txt
blob: c5f46e82676b25909f65366c6cf03a7293089b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# LIBEVENT basichttp ioprocessor - this one is already required above

file(GLOB_RECURSE BASICHTTP_IOPROCESSOR
	src/uscxml/plugins/ioprocessor/basichttp/*.cpp
	src/uscxml/plugins/ioprocessor/basichttp/*.h
)
source_group("IOProcessor\\basichttp" FILES ${BASICHTTP_IOPROCESSOR})
if (BUILD_AS_PLUGINS)
	add_library(
		ioprocessor_basichttp SHARED 
		${BASICHTTP_IOPROCESSOR})
	target_link_libraries(ioprocessor_basichttp uscxml)
	set_target_properties(ioprocessor_basichttp PROPERTIES FOLDER "Plugin IOProcessor")
else()
	list (APPEND USCXML_FILES ${BASICHTTP_IOPROCESSOR})
endif()


# scxml ioprocessor - this one is already required above

file(GLOB_RECURSE SCXML_IOPROCESSOR
	src/uscxml/plugins/ioprocessor/scxml/*.cpp
	src/uscxml/plugins/ioprocessor/scxml/*.h
)
source_group("IOProcessor\\scxml" FILES ${SCXML_IOPROCESSOR})
if (BUILD_AS_PLUGINS)
	add_library(
		ioprocessor_scxml SHARED 
		${SCXML_IOPROCESSOR})
	target_link_libraries(ioprocessor_scxml uscxml)
	set_target_properties(ioprocessor_scxml PROPERTIES FOLDER "Plugin IOProcessor")
else()
	list (APPEND USCXML_FILES ${SCXML_IOPROCESSOR})
endif()


# mmi ioprocessor

file(GLOB_RECURSE MMI_IOPROCESSOR
	src/uscxml/plugins/ioprocessor/modality/*.cpp
	src/uscxml/plugins/ioprocessor/modality/*.h
)
source_group("IOProcessor\\modality" FILES ${MMI_IOPROCESSOR})
if (BUILD_AS_PLUGINS)
	add_library(
		ioprocessor_mmi SHARED 
		${MMI_IOPROCESSOR})
	target_link_libraries(ioprocessor_mmi uscxml)
	set_target_properties(ioprocessor_mmi PROPERTIES FOLDER "Plugin IOProcessor")
else()
	list (APPEND USCXML_FILES ${MMI_IOPROCESSOR})
endif()