summaryrefslogtreecommitdiffstats
path: root/src/progs/icd1/base/CMakeLists.txt
blob: 1251f266579af64e0462188d5d8834e30984e5dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
)