summaryrefslogtreecommitdiffstats
path: root/src/data/CMakeLists.txt
blob: c9980031e66e229f4c7e54bb7ce7badac5267df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

##### 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
)