
# Generate sources :
# cd ../src/; phoenix_filegenerator class -c AbstractField.pdata -u -d ../TESTS/ -r PhoenixProtocolBuffer; cd -


file(GLOB all_SRC "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
phoenix_add_library(phoenix_protocol_buffer ${all_SRC})
target_link_libraries(phoenix_protocol_buffer ${LID_LIB_DEPENDENCIES})

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

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


