# To regenerate HDF5 reference file run the following command from the root of the repository:
# phoenix_protocol_buffer_stream_to_hdf5 -i TESTS/swat_100_messages.pzmq -o TESTS/TEST_SWAT_PARSING/swat_ref.h5

file(GLOB_RECURSE sag_swat_src "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")

phoenix_add_library(sagswat ${sag_swat_src})
target_link_libraries(sagswat phoenix_swarm_daemon phoenix_swarm_function phoenix_swarm_representation)
install(TARGETS sagswat LIBRARY DESTINATION ${LIBRARY_DIRECTORY} ARCHIVE DESTINATION ${LIBRARY_DIRECTORY})

file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
install(FILES ${headers} DESTINATION include/SagSwat)
