
##### subfolders

add_subdirectory( app_data )


##### syntax_xml_generator (executable)

tde_add_executable( syntax_xml_generator AUTOMOC
  SOURCES syntax_xml_generator.cpp
  LINK ${TQT_LIBRARIES}
)

add_custom_command(
  OUTPUT asm-pic.xml coff-pic.xml
  COMMAND syntax_xml_generator
)

add_custom_target(
  build_time_xml_files
  ALL DEPENDS asm-pic.xml coff-pic.xml
)

install(
  FILES
    coff-c-pic.xml jal-pic.xml
    ${CMAKE_CURRENT_BINARY_DIR}/asm-pic.xml
    ${CMAKE_CURRENT_BINARY_DIR}/coff-pic.xml
  DESTINATION
    ${DATA_INSTALL_DIR}/katepart/syntax
)
