2 include_directories(${CMAKE_SOURCE_DIR}/lib ${include_dirs})
4 set(examplesourceplugin_headers exampleplugin.h)
5 set(examplesourceplugin_sources exampleplugin.cpp)
7 add_library(examplesourceplugin MODULE ${examplesourceplugin_sources})
8 set_target_properties(examplesourceplugin PROPERTIES PREFIX "")
9 target_link_libraries(examplesourceplugin amb -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})
12 set(examplesinkplugin_headers examplesink.h)
13 set(examplesinkplugin_sources examplesink.cpp)
15 add_library(examplesinkplugin MODULE ${examplesinkplugin_sources})
16 set_target_properties(examplesinkplugin PROPERTIES PREFIX "")
17 target_link_libraries(examplesinkplugin amb -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})
19 install(TARGETS examplesinkplugin LIBRARY DESTINATION lib/automotive-message-broker)
20 install(TARGETS examplesourceplugin LIBRARY DESTINATION lib/automotive-message-broker)
22 add_subdirectory(wheel)
23 add_subdirectory(dbus)
24 add_subdirectory(websocketsink)
25 add_subdirectory(obd2plugin)
26 add_subdirectory(demosink)
27 add_subdirectory(websocketsourceplugin)