summaryrefslogtreecommitdiffstats
path: root/src/progs/icd1/base/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/icd1/base/CMakeLists.txt')
-rw-r--r--src/progs/icd1/base/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/progs/icd1/base/CMakeLists.txt b/src/progs/icd1/base/CMakeLists.txt
new file mode 100644
index 0000000..1251f26
--- /dev/null
+++ b/src/progs/icd1/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libicd1 (static)
+
+add_custom_command(
+ OUTPUT icd1_data.cpp
+ COMMAND xml_icd1_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( icd1 STATIC_PIC AUTOMOC
+ SOURCES
+ icd1.cpp icd1_prog.cpp icd1_serial.cpp ${CMAKE_CURRENT_BINARY_DIR}/icd1_data.cpp
+)