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

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

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

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



