
# To generate the PClassAttribute sources :
# 	phoenix_filegenerator class -c PClassAttribute.pdata

# From build dir :
# 	cd ../src; phoenix_filegenerator class -c PClassAttribute.pdata; cd -


# To generate the PCMakeListsGenerator sources :
# 	phoenix_filegenerator class -c PCMakeListsGenerator.pdata

# From build dir :
# 	cd ../src; phoenix_filegenerator class -c PCMakeListsGenerator.pdata; cd -

# To generate the PPackageAttribute sources :
# 	phoenix_filegenerator class -c PPackageAttribute.pdata

# From build dir :
# 	cd ../src; phoenix_filegenerator class -c PPackageAttribute.pdata -u -p ../TESTS; cd -

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

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

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

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



