summaryrefslogtreecommitdiffstats
path: root/src/data/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/CMakeLists.txt')
-rw-r--r--src/data/CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt
new file mode 100644
index 0000000..c998003
--- /dev/null
+++ b/src/data/CMakeLists.txt
@@ -0,0 +1,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
+)