
# How to generate Representation sources from build
# 	cd ../src/Representation/; phoenix_filegenerator class -c Representation.pdata --datastream --typestream --checkstream -u -d ../../TESTS/TESTS_REPRESENTATION -r PhoenixSwarm; cd -


file(GLOB phoenixSwarmRepresentation_SRC "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")

phoenix_add_library(phoenix_swarm_representation ${phoenixSwarmRepresentation_SRC})
target_link_libraries(phoenix_swarm_representation phoenix_type_stream phoenix_path_stream phoenix_data_stream phoenix_check_stream phoenix_core)

install(TARGETS phoenix_swarm_representation LIBRARY DESTINATION ${LIBRARY_DIRECTORY} ARCHIVE DESTINATION ${LIBRARY_DIRECTORY})

file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h" "${CMAKE_CURRENT_BINARY_DIR}/*.h")

install(FILES ${headers} DESTINATION include/PhoenixSwarm/Representation)


