
file(GLOB phoenixGenerator_SRC "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
phoenix_add_library(phoenix_generator_backend ${phoenixGenerator_SRC})
target_link_libraries(phoenix_generator_backend ${PHOENIX_GENERATOR_TRAIT_LIST_LIB} phoenix_generator_representation phoenix_toml phoenix_file_parser phoenix_core)

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

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

install(FILES ${headers} DESTINATION include/PhoenixGenerator/BackEnd)



