diff options
Diffstat (limited to 'src/progs/icd2')
-rw-r--r-- | src/progs/icd2/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/progs/icd2/base/CMakeLists.txt | 18 | ||||
-rw-r--r-- | src/progs/icd2/gui/CMakeLists.txt | 9 | ||||
-rw-r--r-- | src/progs/icd2/icd2_data/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/progs/icd2/xml/CMakeLists.txt | 9 |
5 files changed, 49 insertions, 0 deletions
diff --git a/src/progs/icd2/CMakeLists.txt b/src/progs/icd2/CMakeLists.txt new file mode 100644 index 0000000..fbece92 --- /dev/null +++ b/src/progs/icd2/CMakeLists.txt @@ -0,0 +1,7 @@ + +##### subfolders + +add_subdirectory( icd2_data ) +add_subdirectory( xml ) +add_subdirectory( base ) +add_subdirectory( gui ) 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 +) diff --git a/src/progs/icd2/gui/CMakeLists.txt b/src/progs/icd2/gui/CMakeLists.txt new file mode 100644 index 0000000..4bf6049 --- /dev/null +++ b/src/progs/icd2/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libicd2ui (static) + +tde_add_library( icd2ui STATIC_PIC AUTOMOC + SOURCES icd2_group_ui.cpp +) diff --git a/src/progs/icd2/icd2_data/CMakeLists.txt b/src/progs/icd2/icd2_data/CMakeLists.txt new file mode 100644 index 0000000..65cfa27 --- /dev/null +++ b/src/progs/icd2/icd2_data/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### libicd2data (static) + +tde_add_library( icd2data STATIC_PIC AUTOMOC + SOURCES icd2_data.cpp +) diff --git a/src/progs/icd2/xml/CMakeLists.txt b/src/progs/icd2/xml/CMakeLists.txt new file mode 100644 index 0000000..2d14fce --- /dev/null +++ b/src/progs/icd2/xml/CMakeLists.txt @@ -0,0 +1,9 @@ + +##### xml_icd2_parser (executable) + +tde_add_executable( xml_icd2_parser AUTOMOC + SOURCES xml_icd2_parser.cpp + LINK + icd2data-static devicelistnoui-static pic-static picbase-static picxml-static mem24-static + mem24base-static mem24xml-static xmltodata-static devicebase-static common-static tdecore-shared +) |