set (events_example_sources
    example_provider.c
)

set (CMAKE_C_STANDARD 99)

add_definitions (-Wall -Wstrict-prototypes)

add_library (events_example_provider SHARED ${events_example_sources})
target_link_libraries (events_example_provider parson 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()
