From dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 7 May 2024 18:59:54 +0900 Subject: CMake conversion Signed-off-by: Michele Calgaro (cherry picked from commit 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17) --- src/progs/icd2/base/CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/progs/icd2/base/CMakeLists.txt (limited to 'src/progs/icd2/base/CMakeLists.txt') diff --git a/src/progs/icd2/base/CMakeLists.txt b/src/progs/icd2/base/CMakeLists.txt new file mode 100644 index 0000000..2990c02 --- /dev/null +++ b/src/progs/icd2/base/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libicd2 (static) + +add_custom_command( + OUTPUT icd2_data.cpp + COMMAND xml_icd2_parser ${CMAKE_CURRENT_SOURCE_DIR} +) + +tde_add_library( icd2 STATIC_PIC AUTOMOC + SOURCES + microchip.cpp icd2.cpp icd2_prog.cpp icd2_serial.cpp icd2_usb.cpp icd2_usb_firmware.cpp + icd2_debug.cpp icd.cpp icd_prog.cpp icd2_debug_specific.cpp + ${CMAKE_CURRENT_BINARY_DIR}/icd2_data.cpp +) -- cgit v1.2.1