set (events_example_sources
    example_provider.c
)

set (CMAKE_C_STANDARD 99)
set (CMAKE_CXX_STANDARD 11)

set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes")

add_library (events_example_provider SHARED ${events_example_sources})
target_link_libraries (events_example_provider clx_common clx_data)
install (TARGETS events_example_provider COMPONENT collectx LIBRARY DESTINATION examples/clx_plugin/example_event_provider)

if (WITH_LINT)
    check_coding_style (events_example_provider ${events_example_sources})
endif()
