2 include_directories(${CMAKE_SOURCE_DIR}/lib ${include_dirs})
4 set(exampleplugin_headers exampleplugin.h)
5 set(exampleplugin_sources exampleplugin.cpp)
6 add_library(exampleplugin MODULE ${exampleplugin_sources})
7 set_target_properties(exampleplugin PROPERTIES PREFIX "")
8 target_link_libraries(exampleplugin -lamb -L${CMAKE_CURRENT_BINARY_DIR}/lib ${link_libraries})