summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-07 18:59:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-10 10:12:21 +0900
commit199d48de5c43ab5da32fdfe2006f9d89bd4b6d17 (patch)
treeaad515de6f834996717e6081de9345e691208164 /src/progs
parentee905d21f182005df07129483be48f35292856fe (diff)
downloadpiklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.tar.gz
piklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.zip
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/CMakeLists.txt19
-rw-r--r--src/progs/base/CMakeLists.txt11
-rw-r--r--src/progs/bootloader/CMakeLists.txt5
-rw-r--r--src/progs/bootloader/base/CMakeLists.txt10
-rw-r--r--src/progs/bootloader/gui/CMakeLists.txt6
-rw-r--r--src/progs/direct/CMakeLists.txt6
-rw-r--r--src/progs/direct/base/CMakeLists.txt18
-rw-r--r--src/progs/direct/gui/CMakeLists.txt9
-rw-r--r--src/progs/direct/xml/CMakeLists.txt9
-rw-r--r--src/progs/gpsim/CMakeLists.txt5
-rw-r--r--src/progs/gpsim/base/CMakeLists.txt11
-rw-r--r--src/progs/gpsim/gui/CMakeLists.txt9
-rw-r--r--src/progs/gui/CMakeLists.txt11
-rw-r--r--src/progs/icd1/CMakeLists.txt6
-rw-r--r--src/progs/icd1/base/CMakeLists.txt16
-rw-r--r--src/progs/icd1/gui/CMakeLists.txt9
-rw-r--r--src/progs/icd1/xml/CMakeLists.txt9
-rw-r--r--src/progs/icd2/CMakeLists.txt7
-rw-r--r--src/progs/icd2/base/CMakeLists.txt18
-rw-r--r--src/progs/icd2/gui/CMakeLists.txt9
-rw-r--r--src/progs/icd2/icd2_data/CMakeLists.txt6
-rw-r--r--src/progs/icd2/xml/CMakeLists.txt9
-rw-r--r--src/progs/list/CMakeLists.txt13
-rw-r--r--src/progs/manager/CMakeLists.txt10
-rw-r--r--src/progs/picdem_bootloader/CMakeLists.txt6
-rw-r--r--src/progs/picdem_bootloader/base/CMakeLists.txt16
-rw-r--r--src/progs/picdem_bootloader/gui/CMakeLists.txt9
-rw-r--r--src/progs/picdem_bootloader/xml/CMakeLists.txt9
-rw-r--r--src/progs/pickit1/CMakeLists.txt6
-rw-r--r--src/progs/pickit1/base/CMakeLists.txt16
-rw-r--r--src/progs/pickit1/gui/CMakeLists.txt6
-rw-r--r--src/progs/pickit1/xml/CMakeLists.txt9
-rw-r--r--src/progs/pickit2/CMakeLists.txt6
-rw-r--r--src/progs/pickit2/base/CMakeLists.txt16
-rw-r--r--src/progs/pickit2/gui/CMakeLists.txt9
-rw-r--r--src/progs/pickit2/xml/CMakeLists.txt9
-rw-r--r--src/progs/pickit2_bootloader/CMakeLists.txt6
-rw-r--r--src/progs/pickit2_bootloader/base/CMakeLists.txt16
-rw-r--r--src/progs/pickit2_bootloader/gui/CMakeLists.txt9
-rw-r--r--src/progs/pickit2_bootloader/xml/CMakeLists.txt9
-rw-r--r--src/progs/pickit2v2/CMakeLists.txt5
-rw-r--r--src/progs/pickit2v2/base/CMakeLists.txt11
-rw-r--r--src/progs/pickit2v2/gui/CMakeLists.txt6
-rw-r--r--src/progs/psp/CMakeLists.txt6
-rw-r--r--src/progs/psp/base/CMakeLists.txt16
-rw-r--r--src/progs/psp/gui/CMakeLists.txt6
-rw-r--r--src/progs/psp/xml/CMakeLists.txt9
-rw-r--r--src/progs/tbl_bootloader/CMakeLists.txt6
-rw-r--r--src/progs/tbl_bootloader/base/CMakeLists.txt16
-rw-r--r--src/progs/tbl_bootloader/gui/CMakeLists.txt9
-rw-r--r--src/progs/tbl_bootloader/xml/CMakeLists.txt9
51 files changed, 497 insertions, 0 deletions
diff --git a/src/progs/CMakeLists.txt b/src/progs/CMakeLists.txt
new file mode 100644
index 0000000..d676fb3
--- /dev/null
+++ b/src/progs/CMakeLists.txt
@@ -0,0 +1,19 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( gui )
+add_subdirectory( direct )
+add_subdirectory( icd1 )
+add_subdirectory( icd2 )
+add_subdirectory( pickit1 )
+add_subdirectory( pickit2 )
+add_subdirectory( pickit2v2 )
+add_subdirectory( psp )
+add_subdirectory( gpsim )
+add_subdirectory( bootloader )
+add_subdirectory( picdem_bootloader )
+add_subdirectory( tbl_bootloader )
+add_subdirectory( pickit2_bootloader )
+add_subdirectory( list )
+add_subdirectory( manager )
diff --git a/src/progs/base/CMakeLists.txt b/src/progs/base/CMakeLists.txt
new file mode 100644
index 0000000..ca5592b
--- /dev/null
+++ b/src/progs/base/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libprogbase (static)
+
+tde_add_library( progbase STATIC_PIC AUTOMOC
+ SOURCES
+ generic_prog.cpp prog_specific.cpp prog_config.cpp prog_group.cpp
+ generic_debug.cpp hardware_config.cpp debug_config.cpp
+)
diff --git a/src/progs/bootloader/CMakeLists.txt b/src/progs/bootloader/CMakeLists.txt
new file mode 100644
index 0000000..4ad2ae3
--- /dev/null
+++ b/src/progs/bootloader/CMakeLists.txt
@@ -0,0 +1,5 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/bootloader/base/CMakeLists.txt b/src/progs/bootloader/base/CMakeLists.txt
new file mode 100644
index 0000000..790a7de
--- /dev/null
+++ b/src/progs/bootloader/base/CMakeLists.txt
@@ -0,0 +1,10 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libbootloader (static)
+
+tde_add_library( bootloader STATIC_PIC AUTOMOC
+ SOURCES bootloader.cpp bootloader_prog.cpp
+)
diff --git a/src/progs/bootloader/gui/CMakeLists.txt b/src/progs/bootloader/gui/CMakeLists.txt
new file mode 100644
index 0000000..1c14d39
--- /dev/null
+++ b/src/progs/bootloader/gui/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libbootloaderui (static)
+
+tde_add_library( bootloaderui STATIC_PIC AUTOMOC
+ SOURCES bootloader_ui.cpp
+)
diff --git a/src/progs/direct/CMakeLists.txt b/src/progs/direct/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/direct/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/direct/base/CMakeLists.txt b/src/progs/direct/base/CMakeLists.txt
new file mode 100644
index 0000000..1e9d4f2
--- /dev/null
+++ b/src/progs/direct/base/CMakeLists.txt
@@ -0,0 +1,18 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libdirectprog (static)
+
+add_custom_command(
+ OUTPUT direct_data.cpp
+ COMMAND xml_direct_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( directprog STATIC_PIC AUTOMOC
+ SOURCES
+ direct_pic.cpp direct_baseline.cpp direct_16.cpp direct_16F.cpp
+ direct_18.cpp direct_18F.cpp direct_prog.cpp direct_prog_config.cpp
+ direct_mem24.cpp direct.cpp ${CMAKE_CURRENT_BINARY_DIR}/direct_data.cpp
+)
diff --git a/src/progs/direct/gui/CMakeLists.txt b/src/progs/direct/gui/CMakeLists.txt
new file mode 100644
index 0000000..9c737ac
--- /dev/null
+++ b/src/progs/direct/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libdirectui (static)
+
+tde_add_library( directui STATIC_PIC AUTOMOC
+ SOURCES direct_config_widget.cpp
+)
diff --git a/src/progs/direct/xml/CMakeLists.txt b/src/progs/direct/xml/CMakeLists.txt
new file mode 100644
index 0000000..af9f4e8
--- /dev/null
+++ b/src/progs/direct/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_direct_parser (executable)
+
+tde_add_executable( xml_direct_parser AUTOMOC
+ SOURCES xml_direct_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/progs/gpsim/CMakeLists.txt b/src/progs/gpsim/CMakeLists.txt
new file mode 100644
index 0000000..4ad2ae3
--- /dev/null
+++ b/src/progs/gpsim/CMakeLists.txt
@@ -0,0 +1,5 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/gpsim/base/CMakeLists.txt b/src/progs/gpsim/base/CMakeLists.txt
new file mode 100644
index 0000000..59c1e8c
--- /dev/null
+++ b/src/progs/gpsim/base/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libgpsim (static)
+
+tde_add_library( gpsim STATIC_PIC AUTOMOC
+ SOURCES
+ gpsim.cpp gpsim_debug.cpp
+)
diff --git a/src/progs/gpsim/gui/CMakeLists.txt b/src/progs/gpsim/gui/CMakeLists.txt
new file mode 100644
index 0000000..a284597
--- /dev/null
+++ b/src/progs/gpsim/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libgpsimui (static)
+
+tde_add_library( gpsimui STATIC_PIC AUTOMOC
+ SOURCES gpsim_group_ui.cpp
+)
diff --git a/src/progs/gui/CMakeLists.txt b/src/progs/gui/CMakeLists.txt
new file mode 100644
index 0000000..e231511
--- /dev/null
+++ b/src/progs/gui/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libprogui (static)
+
+tde_add_library( progui STATIC_PIC AUTOMOC
+ SOURCES
+ prog_config_widget.cpp prog_group_ui.cpp hardware_config_widget.cpp
+ prog_config_center.cpp port_selector.cpp debug_config_center.cpp
+)
diff --git a/src/progs/icd1/CMakeLists.txt b/src/progs/icd1/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/icd1/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
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
+)
diff --git a/src/progs/icd1/gui/CMakeLists.txt b/src/progs/icd1/gui/CMakeLists.txt
new file mode 100644
index 0000000..deb8722
--- /dev/null
+++ b/src/progs/icd1/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libicd1ui (static)
+
+tde_add_library( icd1ui STATIC_PIC AUTOMOC
+ SOURCES icd1_group_ui.cpp
+)
diff --git a/src/progs/icd1/xml/CMakeLists.txt b/src/progs/icd1/xml/CMakeLists.txt
new file mode 100644
index 0000000..94e64c7
--- /dev/null
+++ b/src/progs/icd1/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_icd1_parser (executable)
+
+tde_add_executable( xml_icd1_parser AUTOMOC
+ SOURCES xml_icd1_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)
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
+)
diff --git a/src/progs/list/CMakeLists.txt b/src/progs/list/CMakeLists.txt
new file mode 100644
index 0000000..8c4262b
--- /dev/null
+++ b/src/progs/list/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+##### libproglistnoui (static)
+
+tde_add_library( proglistnoui STATIC_PIC AUTOMOC
+ SOURCES prog_list.cpp prog_list_noui.cpp
+)
+
+
+##### libproglistui (static)
+
+tde_add_library( proglistui STATIC_PIC AUTOMOC
+ SOURCES prog_list.cpp prog_list_ui.cpp
+)
diff --git a/src/progs/manager/CMakeLists.txt b/src/progs/manager/CMakeLists.txt
new file mode 100644
index 0000000..a7cffe1
--- /dev/null
+++ b/src/progs/manager/CMakeLists.txt
@@ -0,0 +1,10 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libprogmanager (static)
+
+tde_add_library( progmanager STATIC_PIC AUTOMOC
+ SOURCES breakpoint.cpp debug_manager.cpp prog_manager.cpp
+)
diff --git a/src/progs/picdem_bootloader/CMakeLists.txt b/src/progs/picdem_bootloader/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/picdem_bootloader/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/picdem_bootloader/base/CMakeLists.txt b/src/progs/picdem_bootloader/base/CMakeLists.txt
new file mode 100644
index 0000000..f363e63
--- /dev/null
+++ b/src/progs/picdem_bootloader/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpicdembootloader (static)
+
+add_custom_command(
+ OUTPUT picdem_bootloader_data.cpp
+ COMMAND xml_picdem_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( picdembootloader STATIC_PIC AUTOMOC
+ SOURCES
+ picdem_bootloader.cpp picdem_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/picdem_bootloader_data.cpp
+)
diff --git a/src/progs/picdem_bootloader/gui/CMakeLists.txt b/src/progs/picdem_bootloader/gui/CMakeLists.txt
new file mode 100644
index 0000000..c114f8c
--- /dev/null
+++ b/src/progs/picdem_bootloader/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpicdembootloaderui (static)
+
+tde_add_library( picdembootloaderui STATIC_PIC AUTOMOC
+ SOURCES picdem_bootloader_ui.cpp
+)
diff --git a/src/progs/picdem_bootloader/xml/CMakeLists.txt b/src/progs/picdem_bootloader/xml/CMakeLists.txt
new file mode 100644
index 0000000..025cd9a
--- /dev/null
+++ b/src/progs/picdem_bootloader/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_picdem_bootloader_parser (executable)
+
+tde_add_executable( xml_picdem_bootloader_parser AUTOMOC
+ SOURCES xml_picdem_bootloader_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/progs/pickit1/CMakeLists.txt b/src/progs/pickit1/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/pickit1/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/pickit1/base/CMakeLists.txt b/src/progs/pickit1/base/CMakeLists.txt
new file mode 100644
index 0000000..7a841df
--- /dev/null
+++ b/src/progs/pickit1/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpickit1 (static)
+
+add_custom_command(
+ OUTPUT pickit1_data.cpp
+ COMMAND xml_pickit1_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( pickit1 STATIC_PIC AUTOMOC
+ SOURCES
+ pickit1.cpp pickit1_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit1_data.cpp
+)
diff --git a/src/progs/pickit1/gui/CMakeLists.txt b/src/progs/pickit1/gui/CMakeLists.txt
new file mode 100644
index 0000000..6d0e543
--- /dev/null
+++ b/src/progs/pickit1/gui/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libpickit1ui (static)
+
+tde_add_library( pickit1ui STATIC_PIC AUTOMOC
+ SOURCES pickit1_group_ui.cpp
+)
diff --git a/src/progs/pickit1/xml/CMakeLists.txt b/src/progs/pickit1/xml/CMakeLists.txt
new file mode 100644
index 0000000..3416dda
--- /dev/null
+++ b/src/progs/pickit1/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_pickit1_parser (executable)
+
+tde_add_executable( xml_pickit1_parser AUTOMOC
+ SOURCES xml_pickit1_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/progs/pickit2/CMakeLists.txt b/src/progs/pickit2/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/pickit2/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/pickit2/base/CMakeLists.txt b/src/progs/pickit2/base/CMakeLists.txt
new file mode 100644
index 0000000..1972a7f
--- /dev/null
+++ b/src/progs/pickit2/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpickit2 (static)
+
+add_custom_command(
+ OUTPUT pickit2_data.cpp
+ COMMAND xml_pickit2_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( pickit2 STATIC_PIC AUTOMOC
+ SOURCES
+ pickit.cpp pickit_prog.cpp pickit2.cpp pickit2_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit2_data.cpp
+)
diff --git a/src/progs/pickit2/gui/CMakeLists.txt b/src/progs/pickit2/gui/CMakeLists.txt
new file mode 100644
index 0000000..911c653
--- /dev/null
+++ b/src/progs/pickit2/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpickit2ui (static)
+
+tde_add_library( pickit2ui STATIC_PIC AUTOMOC
+ SOURCES pickit2_group_ui.cpp
+)
diff --git a/src/progs/pickit2/xml/CMakeLists.txt b/src/progs/pickit2/xml/CMakeLists.txt
new file mode 100644
index 0000000..26ce23a
--- /dev/null
+++ b/src/progs/pickit2/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_pickit2_parser (executable)
+
+tde_add_executable( xml_pickit2_parser AUTOMOC
+ SOURCES xml_pickit2_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/progs/pickit2_bootloader/CMakeLists.txt b/src/progs/pickit2_bootloader/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/pickit2_bootloader/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/pickit2_bootloader/base/CMakeLists.txt b/src/progs/pickit2_bootloader/base/CMakeLists.txt
new file mode 100644
index 0000000..d9a2da9
--- /dev/null
+++ b/src/progs/pickit2_bootloader/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpickit2bootloader (static)
+
+add_custom_command(
+ OUTPUT pickit2_bootloader_data.cpp
+ COMMAND xml_pickit2_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( pickit2bootloader STATIC_PIC AUTOMOC
+ SOURCES
+ pickit2_bootloader.cpp pickit2_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit2_bootloader_data.cpp
+)
diff --git a/src/progs/pickit2_bootloader/gui/CMakeLists.txt b/src/progs/pickit2_bootloader/gui/CMakeLists.txt
new file mode 100644
index 0000000..3b361a2
--- /dev/null
+++ b/src/progs/pickit2_bootloader/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpickit2bootloaderui (static)
+
+tde_add_library( pickit2bootloaderui STATIC_PIC AUTOMOC
+ SOURCES pickit2_bootloader_ui.cpp
+)
diff --git a/src/progs/pickit2_bootloader/xml/CMakeLists.txt b/src/progs/pickit2_bootloader/xml/CMakeLists.txt
new file mode 100644
index 0000000..423713a
--- /dev/null
+++ b/src/progs/pickit2_bootloader/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_pickit2_bootloader_parser (executable)
+
+tde_add_executable( xml_pickit2_bootloader_parser AUTOMOC
+ SOURCES xml_pickit2_bootloader_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/progs/pickit2v2/CMakeLists.txt b/src/progs/pickit2v2/CMakeLists.txt
new file mode 100644
index 0000000..4ad2ae3
--- /dev/null
+++ b/src/progs/pickit2v2/CMakeLists.txt
@@ -0,0 +1,5 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/pickit2v2/base/CMakeLists.txt b/src/progs/pickit2v2/base/CMakeLists.txt
new file mode 100644
index 0000000..aa1f999
--- /dev/null
+++ b/src/progs/pickit2v2/base/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpickit2v2 (static)
+
+tde_add_library( pickit2v2 STATIC_PIC AUTOMOC
+ SOURCES
+ pickit2v2.cpp pickit2v2_prog.cpp pickit2v2_data.cpp
+)
diff --git a/src/progs/pickit2v2/gui/CMakeLists.txt b/src/progs/pickit2v2/gui/CMakeLists.txt
new file mode 100644
index 0000000..4c9bb71
--- /dev/null
+++ b/src/progs/pickit2v2/gui/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libpickit2v2ui (static)
+
+tde_add_library( pickit2v2ui STATIC_PIC AUTOMOC
+ SOURCES pickit2v2_group_ui.cpp
+)
diff --git a/src/progs/psp/CMakeLists.txt b/src/progs/psp/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/psp/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/psp/base/CMakeLists.txt b/src/progs/psp/base/CMakeLists.txt
new file mode 100644
index 0000000..aab4414
--- /dev/null
+++ b/src/progs/psp/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpsp (static)
+
+add_custom_command(
+ OUTPUT psp_data.cpp
+ COMMAND xml_psp_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( psp STATIC_PIC AUTOMOC
+ SOURCES
+ psp.cpp psp_prog.cpp psp_serial.cpp ${CMAKE_CURRENT_BINARY_DIR}/psp_data.cpp
+)
diff --git a/src/progs/psp/gui/CMakeLists.txt b/src/progs/psp/gui/CMakeLists.txt
new file mode 100644
index 0000000..13199cc
--- /dev/null
+++ b/src/progs/psp/gui/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libpspui (static)
+
+tde_add_library( pspui STATIC_PIC AUTOMOC
+ SOURCES psp_group_ui.cpp
+)
diff --git a/src/progs/psp/xml/CMakeLists.txt b/src/progs/psp/xml/CMakeLists.txt
new file mode 100644
index 0000000..90a7495
--- /dev/null
+++ b/src/progs/psp/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_psp_parser (executable)
+
+tde_add_executable( xml_psp_parser AUTOMOC
+ SOURCES xml_psp_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/progs/tbl_bootloader/CMakeLists.txt b/src/progs/tbl_bootloader/CMakeLists.txt
new file mode 100644
index 0000000..80e4ca1
--- /dev/null
+++ b/src/progs/tbl_bootloader/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### subfolders
+
+add_subdirectory( xml )
+add_subdirectory( base )
+add_subdirectory( gui )
diff --git a/src/progs/tbl_bootloader/base/CMakeLists.txt b/src/progs/tbl_bootloader/base/CMakeLists.txt
new file mode 100644
index 0000000..172bca4
--- /dev/null
+++ b/src/progs/tbl_bootloader/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libtblbootloader (static)
+
+add_custom_command(
+ OUTPUT tbl_bootloader_data.cpp
+ COMMAND xml_tbl_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( tblbootloader STATIC_PIC AUTOMOC
+ SOURCES
+ tbl_bootloader.cpp tbl_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/tbl_bootloader_data.cpp
+)
diff --git a/src/progs/tbl_bootloader/gui/CMakeLists.txt b/src/progs/tbl_bootloader/gui/CMakeLists.txt
new file mode 100644
index 0000000..8453616
--- /dev/null
+++ b/src/progs/tbl_bootloader/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libtblbootloaderui (static)
+
+tde_add_library( tblbootloaderui STATIC_PIC AUTOMOC
+ SOURCES tbl_bootloader_ui.cpp
+)
diff --git a/src/progs/tbl_bootloader/xml/CMakeLists.txt b/src/progs/tbl_bootloader/xml/CMakeLists.txt
new file mode 100644
index 0000000..d7b5740
--- /dev/null
+++ b/src/progs/tbl_bootloader/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_tbl_bootloader_parser (executable)
+
+tde_add_executable( xml_tbl_bootloader_parser AUTOMOC
+ SOURCES xml_tbl_bootloader_parser.cpp
+ LINK
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ xmltodata-static devicebase-static common-static tdecore-shared
+)