summaryrefslogtreecommitdiffstats
path: root/src
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
parentee905d21f182005df07129483be48f35292856fe (diff)
downloadpiklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.tar.gz
piklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.zip
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt28
-rw-r--r--src/coff/CMakeLists.txt5
-rw-r--r--src/coff/base/CMakeLists.txt16
-rw-r--r--src/coff/xml/CMakeLists.txt9
-rw-r--r--src/common/CMakeLists.txt8
-rw-r--r--src/common/cli/CMakeLists.txt9
-rw-r--r--src/common/common/CMakeLists.txt13
-rw-r--r--src/common/global/CMakeLists.txt11
-rw-r--r--src/common/gui/CMakeLists.txt11
-rw-r--r--src/common/port/CMakeLists.txt6
-rw-r--r--src/data/CMakeLists.txt31
-rw-r--r--src/data/app_data/CMakeLists.txt17
-rw-r--r--src/devices/CMakeLists.txt8
-rw-r--r--src/devices/base/CMakeLists.txt9
-rw-r--r--src/devices/gui/CMakeLists.txt9
-rw-r--r--src/devices/list/CMakeLists.txt13
-rw-r--r--src/devices/mem24/CMakeLists.txt9
-rw-r--r--src/devices/mem24/base/CMakeLists.txt6
-rw-r--r--src/devices/mem24/gui/CMakeLists.txt9
-rw-r--r--src/devices/mem24/mem24/CMakeLists.txt6
-rw-r--r--src/devices/mem24/prog/CMakeLists.txt6
-rw-r--r--src/devices/mem24/xml/CMakeLists.txt7
-rw-r--r--src/devices/mem24/xml_data/CMakeLists.txt11
-rw-r--r--src/devices/pic/CMakeLists.txt9
-rw-r--r--src/devices/pic/base/CMakeLists.txt6
-rw-r--r--src/devices/pic/gui/CMakeLists.txt11
-rw-r--r--src/devices/pic/pic/CMakeLists.txt6
-rw-r--r--src/devices/pic/prog/CMakeLists.txt6
-rw-r--r--src/devices/pic/xml/CMakeLists.txt7
-rw-r--r--src/devices/pic/xml_data/CMakeLists.txt11
-rw-r--r--src/libgui/CMakeLists.txt15
-rw-r--r--src/piklab-coff/CMakeLists.txt14
-rw-r--r--src/piklab-hex/CMakeLists.txt14
-rw-r--r--src/piklab-prog/CMakeLists.txt20
-rw-r--r--src/piklab-test/CMakeLists.txt8
-rw-r--r--src/piklab-test/base/CMakeLists.txt6
-rw-r--r--src/piklab-test/checksum/CMakeLists.txt10
-rw-r--r--src/piklab-test/generators/CMakeLists.txt33
-rw-r--r--src/piklab-test/misc/CMakeLists.txt9
-rw-r--r--src/piklab-test/save_load_memory/CMakeLists.txt11
-rw-r--r--src/piklab/CMakeLists.txt30
-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
-rw-r--r--src/tools/CMakeLists.txt18
-rw-r--r--src/tools/base/CMakeLists.txt6
-rw-r--r--src/tools/boost/CMakeLists.txt17
-rw-r--r--src/tools/boost/gui/CMakeLists.txt9
-rw-r--r--src/tools/c18/CMakeLists.txt15
-rw-r--r--src/tools/c18/gui/CMakeLists.txt9
-rw-r--r--src/tools/cc5x/CMakeLists.txt15
-rw-r--r--src/tools/cc5x/gui/CMakeLists.txt9
-rw-r--r--src/tools/ccsc/CMakeLists.txt15
-rw-r--r--src/tools/ccsc/gui/CMakeLists.txt9
-rw-r--r--src/tools/custom/CMakeLists.txt6
-rw-r--r--src/tools/gputils/CMakeLists.txt15
-rw-r--r--src/tools/gputils/gui/CMakeLists.txt9
-rw-r--r--src/tools/gui/CMakeLists.txt11
-rw-r--r--src/tools/jal/CMakeLists.txt15
-rw-r--r--src/tools/jal/gui/CMakeLists.txt9
-rw-r--r--src/tools/jalv2/CMakeLists.txt15
-rw-r--r--src/tools/jalv2/gui/CMakeLists.txt9
-rw-r--r--src/tools/list/CMakeLists.txt11
-rw-r--r--src/tools/mpc/CMakeLists.txt15
-rw-r--r--src/tools/mpc/gui/CMakeLists.txt9
-rw-r--r--src/tools/pic30/CMakeLists.txt15
-rw-r--r--src/tools/pic30/gui/CMakeLists.txt9
-rw-r--r--src/tools/picc/CMakeLists.txt15
-rw-r--r--src/tools/picc/gui/CMakeLists.txt9
-rw-r--r--src/tools/sdcc/CMakeLists.txt15
-rw-r--r--src/tools/sdcc/gui/CMakeLists.txt9
-rw-r--r--src/xml_to_data/CMakeLists.txt7
120 files changed, 1305 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..fbe2ec0
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,28 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( common )
+add_subdirectory( xml_to_data )
+add_subdirectory( devices )
+add_subdirectory( piklab-hex )
+add_subdirectory( coff )
+add_subdirectory( piklab-coff )
+add_subdirectory( progs )
+add_subdirectory( piklab-prog )
+add_subdirectory( tools )
+add_subdirectory( data )
+add_subdirectory( libgui )
+add_subdirectory( piklab )
+add_subdirectory( piklab-test )
diff --git a/src/coff/CMakeLists.txt b/src/coff/CMakeLists.txt
new file mode 100644
index 0000000..8dec3d2
--- /dev/null
+++ b/src/coff/CMakeLists.txt
@@ -0,0 +1,5 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( xml )
diff --git a/src/coff/base/CMakeLists.txt b/src/coff/base/CMakeLists.txt
new file mode 100644
index 0000000..95067ea
--- /dev/null
+++ b/src/coff/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+##### libcoff (static)
+
+add_custom_command(
+ OUTPUT coff_data.cpp
+ COMMAND xml_coff_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( coff STATIC_PIC AUTOMOC
+ SOURCES
+ coff.cpp gpdis.cpp gpopcode.cpp disassembler.cpp ${CMAKE_CURRENT_BINARY_DIR}/coff_data.cpp
+ text_coff.cpp cdb_parser.cpp coff_archive.cpp coff_object.cpp
+)
diff --git a/src/coff/xml/CMakeLists.txt b/src/coff/xml/CMakeLists.txt
new file mode 100644
index 0000000..e837ece
--- /dev/null
+++ b/src/coff/xml/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### xml_coff_parser (executable)
+
+tde_add_executable( xml_coff_parser AUTOMOC
+ SOURCES xml_coff_parser.cpp gpprocessor.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/common/CMakeLists.txt b/src/common/CMakeLists.txt
new file mode 100644
index 0000000..3e72940
--- /dev/null
+++ b/src/common/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+##### subfolders
+
+add_subdirectory( cli )
+add_subdirectory( common )
+add_subdirectory( global )
+add_subdirectory( gui )
+add_subdirectory( port )
diff --git a/src/common/cli/CMakeLists.txt b/src/common/cli/CMakeLists.txt
new file mode 100644
index 0000000..fbb92a2
--- /dev/null
+++ b/src/common/cli/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libcli (static)
+
+tde_add_library( cli STATIC_PIC AUTOMOC
+ SOURCES cli_purl.cpp cli_pfile.cpp cli_global.cpp cli_log.cpp cli_main.cpp
+)
diff --git a/src/common/common/CMakeLists.txt b/src/common/common/CMakeLists.txt
new file mode 100644
index 0000000..55cc66d
--- /dev/null
+++ b/src/common/common/CMakeLists.txt
@@ -0,0 +1,13 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libcommon (static)
+
+tde_add_library( common STATIC_PIC AUTOMOC
+ SOURCES
+ bitvalue.cpp group.cpp misc.cpp number.cpp purl_base.cpp
+ storage.cpp synchronous.cpp version_data.cpp
+ LINK
+ tdecore-shared
+)
diff --git a/src/common/global/CMakeLists.txt b/src/common/global/CMakeLists.txt
new file mode 100644
index 0000000..aee120d
--- /dev/null
+++ b/src/common/global/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libglobal (static)
+
+tde_add_library( global STATIC_PIC AUTOMOC
+ SOURCES
+ about.cpp generic_config.cpp log.cpp pfile.cpp
+ process.cpp progress_monitor.cpp purl.cpp xml_data_file.cpp
+)
diff --git a/src/common/gui/CMakeLists.txt b/src/common/gui/CMakeLists.txt
new file mode 100644
index 0000000..72fbfe7
--- /dev/null
+++ b/src/common/gui/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libcommonui (static)
+
+tde_add_library( commonui STATIC_PIC AUTOMOC
+ SOURCES
+ config_widget.cpp container.cpp dialog.cpp editlistbox.cpp hexword_gui.cpp list_view.cpp
+ misc_gui.cpp number_gui.cpp pfile_ext.cpp purl_ext.cpp purl_gui.cpp list_container.cpp
+)
diff --git a/src/common/port/CMakeLists.txt b/src/common/port/CMakeLists.txt
new file mode 100644
index 0000000..59bacc2
--- /dev/null
+++ b/src/common/port/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libport (static)
+
+tde_add_library( port STATIC_PIC AUTOMOC
+ SOURCES parallel.cpp port.cpp serial.cpp usb_port.cpp port_base.cpp
+)
diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt
new file mode 100644
index 0000000..c998003
--- /dev/null
+++ b/src/data/CMakeLists.txt
@@ -0,0 +1,31 @@
+
+##### subfolders
+
+add_subdirectory( app_data )
+
+
+##### syntax_xml_generator (executable)
+
+tde_add_executable( syntax_xml_generator AUTOMOC
+ SOURCES syntax_xml_generator.cpp
+ LINK ${TQT_LIBRARIES}
+)
+
+add_custom_command(
+ OUTPUT asm-pic.xml coff-pic.xml
+ COMMAND syntax_xml_generator
+)
+
+add_custom_target(
+ build_time_xml_files
+ ALL DEPENDS asm-pic.xml coff-pic.xml
+)
+
+install(
+ FILES
+ coff-c-pic.xml jal-pic.xml
+ ${CMAKE_CURRENT_BINARY_DIR}/asm-pic.xml
+ ${CMAKE_CURRENT_BINARY_DIR}/coff-pic.xml
+ DESTINATION
+ ${DATA_INSTALL_DIR}/katepart/syntax
+)
diff --git a/src/data/app_data/CMakeLists.txt b/src/data/app_data/CMakeLists.txt
new file mode 100644
index 0000000..8006211
--- /dev/null
+++ b/src/data/app_data/CMakeLists.txt
@@ -0,0 +1,17 @@
+
+##### application data files
+
+tde_create_translated_desktop(
+ SOURCE piklab.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install(
+ FILES piklabui.rc hexeditorpartui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/piklab
+)
+
+tde_create_translated_desktop(
+ SOURCE x-piklab.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+)
diff --git a/src/devices/CMakeLists.txt b/src/devices/CMakeLists.txt
new file mode 100644
index 0000000..f983b75
--- /dev/null
+++ b/src/devices/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( gui )
+add_subdirectory( list )
+add_subdirectory( mem24 )
+add_subdirectory( pic )
diff --git a/src/devices/base/CMakeLists.txt b/src/devices/base/CMakeLists.txt
new file mode 100644
index 0000000..3a814fb
--- /dev/null
+++ b/src/devices/base/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libdevicebase (static)
+
+tde_add_library( devicebase STATIC_PIC AUTOMOC
+ SOURCES generic_device.cpp hex_buffer.cpp generic_memory.cpp register.cpp device_group.cpp
+)
diff --git a/src/devices/gui/CMakeLists.txt b/src/devices/gui/CMakeLists.txt
new file mode 100644
index 0000000..92882dc
--- /dev/null
+++ b/src/devices/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libdeviceui (static)
+
+tde_add_library( deviceui STATIC_PIC AUTOMOC
+ SOURCES hex_word_editor.cpp memory_editor.cpp register_view.cpp hex_view.cpp device_group_ui.cpp
+)
diff --git a/src/devices/list/CMakeLists.txt b/src/devices/list/CMakeLists.txt
new file mode 100644
index 0000000..a5fb569
--- /dev/null
+++ b/src/devices/list/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+##### libdevicelistnoui (static)
+
+tde_add_library( devicelistnoui STATIC_PIC AUTOMOC
+ SOURCES device_list.cpp device_list_noui.cpp
+)
+
+
+##### libdevicelistui (static)
+
+tde_add_library( devicelistui STATIC_PIC AUTOMOC
+ SOURCES device_list.cpp device_list_ui.cpp
+)
diff --git a/src/devices/mem24/CMakeLists.txt b/src/devices/mem24/CMakeLists.txt
new file mode 100644
index 0000000..cb02270
--- /dev/null
+++ b/src/devices/mem24/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( gui )
+add_subdirectory( mem24 )
+add_subdirectory( prog )
+add_subdirectory( xml )
+add_subdirectory( xml_data )
diff --git a/src/devices/mem24/base/CMakeLists.txt b/src/devices/mem24/base/CMakeLists.txt
new file mode 100644
index 0000000..9ebe8f6
--- /dev/null
+++ b/src/devices/mem24/base/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libmem24base (static)
+
+tde_add_library( mem24base STATIC_PIC AUTOMOC
+ SOURCES mem24.cpp
+)
diff --git a/src/devices/mem24/gui/CMakeLists.txt b/src/devices/mem24/gui/CMakeLists.txt
new file mode 100644
index 0000000..1b2bdc9
--- /dev/null
+++ b/src/devices/mem24/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libmem24ui (static)
+
+tde_add_library( mem24ui STATIC_PIC AUTOMOC
+ SOURCES mem24_hex_view.cpp mem24_memory_editor.cpp mem24_group_ui.cpp
+)
diff --git a/src/devices/mem24/mem24/CMakeLists.txt b/src/devices/mem24/mem24/CMakeLists.txt
new file mode 100644
index 0000000..a545b1c
--- /dev/null
+++ b/src/devices/mem24/mem24/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libmem24 (static)
+
+tde_add_library( mem24 STATIC_PIC AUTOMOC
+ SOURCES mem24_memory.cpp mem24_group.cpp
+)
diff --git a/src/devices/mem24/prog/CMakeLists.txt b/src/devices/mem24/prog/CMakeLists.txt
new file mode 100644
index 0000000..0173223
--- /dev/null
+++ b/src/devices/mem24/prog/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libmem24prog (static)
+
+tde_add_library( mem24prog STATIC_PIC AUTOMOC
+ SOURCES mem24_prog.cpp
+)
diff --git a/src/devices/mem24/xml/CMakeLists.txt b/src/devices/mem24/xml/CMakeLists.txt
new file mode 100644
index 0000000..542db17
--- /dev/null
+++ b/src/devices/mem24/xml/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+##### mem24_xml_to_data (executable)
+
+tde_add_executable( mem24_xml_to_data AUTOMOC
+ SOURCES mem24_xml_to_data.cpp
+ LINK mem24base-static xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/devices/mem24/xml_data/CMakeLists.txt b/src/devices/mem24/xml_data/CMakeLists.txt
new file mode 100644
index 0000000..3fa1b1f
--- /dev/null
+++ b/src/devices/mem24/xml_data/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+##### libmem24xml (static)
+
+add_custom_command(
+ OUTPUT mem24_data.cpp
+ COMMAND mem24_xml_to_data ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( mem24xml STATIC_PIC AUTOMOC
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/mem24_data.cpp
+)
diff --git a/src/devices/pic/CMakeLists.txt b/src/devices/pic/CMakeLists.txt
new file mode 100644
index 0000000..d126bcc
--- /dev/null
+++ b/src/devices/pic/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( gui )
+add_subdirectory( pic )
+add_subdirectory( prog )
+add_subdirectory( xml )
+add_subdirectory( xml_data )
diff --git a/src/devices/pic/base/CMakeLists.txt b/src/devices/pic/base/CMakeLists.txt
new file mode 100644
index 0000000..83fbf63
--- /dev/null
+++ b/src/devices/pic/base/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libpicbase (static)
+
+tde_add_library( picbase STATIC_PIC AUTOMOC
+ SOURCES pic.cpp pic_config.cpp pic_protection.cpp pic_register.cpp
+)
diff --git a/src/devices/pic/gui/CMakeLists.txt b/src/devices/pic/gui/CMakeLists.txt
new file mode 100644
index 0000000..a755e0f
--- /dev/null
+++ b/src/devices/pic/gui/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpicui (static)
+
+tde_add_library( picui STATIC_PIC AUTOMOC
+ SOURCES
+ pic_config_editor.cpp pic_config_word_editor.cpp pic_hex_view.cpp
+ pic_memory_editor.cpp pic_register_view.cpp pic_group_ui.cpp pic_prog_group_ui.cpp
+)
diff --git a/src/devices/pic/pic/CMakeLists.txt b/src/devices/pic/pic/CMakeLists.txt
new file mode 100644
index 0000000..4cb13e3
--- /dev/null
+++ b/src/devices/pic/pic/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libpic (static)
+
+tde_add_library( pic STATIC_PIC AUTOMOC
+ SOURCES pic_memory.cpp pic_group.cpp
+)
diff --git a/src/devices/pic/prog/CMakeLists.txt b/src/devices/pic/prog/CMakeLists.txt
new file mode 100644
index 0000000..57d987f
--- /dev/null
+++ b/src/devices/pic/prog/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libpicprog (static)
+
+tde_add_library( picprog STATIC_PIC AUTOMOC
+ SOURCES pic_prog.cpp pic_prog_specific.cpp pic_debug.cpp
+)
diff --git a/src/devices/pic/xml/CMakeLists.txt b/src/devices/pic/xml/CMakeLists.txt
new file mode 100644
index 0000000..2cb4415
--- /dev/null
+++ b/src/devices/pic/xml/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+##### pic_xml_to_data (executable)
+
+tde_add_executable( pic_xml_to_data AUTOMOC
+ SOURCES pic_xml_to_data.cpp
+ LINK picbase-static xmltodata-static devicebase-static common-static tdecore-shared
+)
diff --git a/src/devices/pic/xml_data/CMakeLists.txt b/src/devices/pic/xml_data/CMakeLists.txt
new file mode 100644
index 0000000..df4c2b2
--- /dev/null
+++ b/src/devices/pic/xml_data/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+##### libpicxml (static)
+
+add_custom_command(
+ OUTPUT pic_data.cpp
+ COMMAND pic_xml_to_data ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( picxml STATIC_PIC AUTOMOC
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/pic_data.cpp
+)
diff --git a/src/libgui/CMakeLists.txt b/src/libgui/CMakeLists.txt
new file mode 100644
index 0000000..2c37e4f
--- /dev/null
+++ b/src/libgui/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libgui (static)
+
+tde_add_library( gui STATIC_PIC AUTOMOC
+ SOURCES
+ editor.cpp device_gui.cpp toplevel.cpp object_view.cpp
+ config_gen.cpp register_view.cpp device_editor.cpp watch_view.cpp project.cpp
+ project_editor.cpp project_manager.cpp hex_editor.cpp global_config.cpp config_center.cpp
+ editor_manager.cpp new_dialogs.cpp text_editor.cpp log_view.cpp gui_prog_manager.cpp
+ gui_debug_manager.cpp breakpoint_view.cpp likeback.cpp main_global.cpp console.cpp
+ project_wizard.cpp toplevel_ui.cpp project_manager_ui.cpp
+)
diff --git a/src/piklab-coff/CMakeLists.txt b/src/piklab-coff/CMakeLists.txt
new file mode 100644
index 0000000..5fa09a5
--- /dev/null
+++ b/src/piklab-coff/CMakeLists.txt
@@ -0,0 +1,14 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### piklab-coff (executable)
+
+tde_add_executable( piklab-coff AUTOMOC
+ SOURCES main.cpp
+ LINK
+ cli-static coff-static global-static devicelistnoui-static pic-static picbase-static picxml-static
+ mem24-static mem24base-static mem24xml-static devicebase-static common-static
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/src/piklab-hex/CMakeLists.txt b/src/piklab-hex/CMakeLists.txt
new file mode 100644
index 0000000..8110a13
--- /dev/null
+++ b/src/piklab-hex/CMakeLists.txt
@@ -0,0 +1,14 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### piklab-hex (executable)
+
+tde_add_executable( piklab-hex AUTOMOC
+ SOURCES main.cpp
+ LINK
+ cli-static global-static devicelistnoui-static pic-static picbase-static picxml-static
+ mem24-static mem24base-static mem24xml-static devicebase-static common-static
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/src/piklab-prog/CMakeLists.txt b/src/piklab-prog/CMakeLists.txt
new file mode 100644
index 0000000..35f8961
--- /dev/null
+++ b/src/piklab-prog/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${READLINE_INCLUDE_DIRS}
+ ${LIBUSB_INCLUDE_DIRS}
+)
+
+##### piklab-prog (executable)
+
+tde_add_executable( piklab-prog AUTOMOC
+ SOURCES cmdline.cpp cli_prog_manager.cpp cli_debug_manager.cpp cli_interactive.cpp
+ LINK
+ proglistnoui-static picdembootloader-static pickit2bootloader-static tblbootloader-static
+ bootloader-static gpsim-static psp-static pickit1-static pickit2v2-static pickit2-static
+ icd1-static icd2-static icd2data-static directprog-static mem24prog-static picprog-static
+ progmanager-static progbase-static coff-static port-static cli-static global-static
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static
+ mem24xml-static devicebase-static common-static ${READLINE_LIBRARIES} ${LIBUSB_LIBRARIES}
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/src/piklab-test/CMakeLists.txt b/src/piklab-test/CMakeLists.txt
new file mode 100644
index 0000000..1ad50f4
--- /dev/null
+++ b/src/piklab-test/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( checksum )
+add_subdirectory( generators )
+add_subdirectory( misc )
+add_subdirectory( save_load_memory )
diff --git a/src/piklab-test/base/CMakeLists.txt b/src/piklab-test/base/CMakeLists.txt
new file mode 100644
index 0000000..191934f
--- /dev/null
+++ b/src/piklab-test/base/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libtest (static)
+
+tde_add_library( test STATIC_PIC AUTOMOC
+ SOURCES main_test.cpp device_test.cpp generator_check.cpp
+)
diff --git a/src/piklab-test/checksum/CMakeLists.txt b/src/piklab-test/checksum/CMakeLists.txt
new file mode 100644
index 0000000..00b079d
--- /dev/null
+++ b/src/piklab-test/checksum/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+##### checksum_check (executable)
+
+tde_add_check_executable( checksum_check AUTOMOC
+ SOURCES checksum_check.cpp
+ LINK
+ test-static cli-static gputils-static coff-static global-static
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ devicebase-static common-static tdecore-shared tdeio-shared
+)
diff --git a/src/piklab-test/generators/CMakeLists.txt b/src/piklab-test/generators/CMakeLists.txt
new file mode 100644
index 0000000..ee2abb8
--- /dev/null
+++ b/src/piklab-test/generators/CMakeLists.txt
@@ -0,0 +1,33 @@
+
+##### gputils_config_generator_check (executable)
+
+tde_add_check_executable( gputils_config_generator_check AUTOMOC
+ SOURCES gputils_config_generator_check.cpp
+ LINK
+ test-static cli-static sdcc-static gputils-static coff-static global-static
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ devicebase-static common-static
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+)
+
+##### gputils_template_generator_check (executable)
+
+tde_add_check_executable( gputils_template_generator_check AUTOMOC
+ SOURCES gputils_template_generator_check.cpp
+ LINK
+ test-static cli-static sdcc-static gputils-static coff-static global-static
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ devicebase-static common-static
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+)
+
+##### sdcc_config_generator_check (executable)
+
+tde_add_check_executable( sdcc_config_generator_check AUTOMOC
+ SOURCES sdcc_config_generator_check.cpp
+ LINK
+ test-static cli-static sdcc-static gputils-static coff-static global-static
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
+ devicebase-static common-static
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+)
diff --git a/src/piklab-test/misc/CMakeLists.txt b/src/piklab-test/misc/CMakeLists.txt
new file mode 100644
index 0000000..937bfe2
--- /dev/null
+++ b/src/piklab-test/misc/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+##### misc_check (executable)
+
+tde_add_check_executable( misc_check AUTOMOC
+ SOURCES misc_check.cpp
+ LINK
+ test-static cli-static global-static common-static
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+)
diff --git a/src/piklab-test/save_load_memory/CMakeLists.txt b/src/piklab-test/save_load_memory/CMakeLists.txt
new file mode 100644
index 0000000..61503b2
--- /dev/null
+++ b/src/piklab-test/save_load_memory/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+##### save_load_memory_check (executable)
+
+tde_add_check_executable( save_load_memory_check AUTOMOC
+ SOURCES save_load_memory_check.cpp
+ LINK
+ test-static cli-static gputils-static coff-static global-static
+ devicelistnoui-static pic-static picbase-static picxml-static
+ mem24-static mem24base-static mem24xml-static devicebase-static common-static
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+)
diff --git a/src/piklab/CMakeLists.txt b/src/piklab/CMakeLists.txt
new file mode 100644
index 0000000..959debe
--- /dev/null
+++ b/src/piklab/CMakeLists.txt
@@ -0,0 +1,30 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${READLINE_INCLUDE_DIRS}
+ ${LIBUSB_INCLUDE_DIRS}
+)
+
+##### piklab (executable)
+
+tde_add_executable( piklab AUTOMOC
+ SOURCES main.cpp
+ LINK
+ gui-static toollist-static cc5xui-static mpcui-static boostui-static
+ jalv2ui-static ccscui-static c18ui-static jalui-static pic30ui-static
+ piccui-static sdccui-static gputilsui-static custom-static cc5x-static
+ mpc-static boost-static jalv2-static ccsc-static c18-static jal-static
+ pic30-static picc-static sdcc-static gputils-static toolui-static toolbase-static
+ proglistui-static picdembootloaderui-static pickit2bootloaderui-static tblbootloaderui-static
+ bootloaderui-static gpsimui-static pspui-static pickit2v2ui-static pickit2ui-static
+ pickit1ui-static icd1ui-static icd2ui-static directui-static progui-static
+ picdembootloader-static pickit2bootloader-static tblbootloader-static
+ bootloader-static gpsim-static psp-static pickit1-static pickit2v2-static pickit2-static
+ icd1-static icd2-static icd2data-static directprog-static mem24prog-static picprog-static
+ progmanager-static progbase-static coff-static port-static global-static
+ devicelistui-static mem24ui-static picui-static deviceui-static commonui-static
+ pic-static picbase-static picxml-static mem24-static mem24base-static
+ mem24xml-static devicebase-static common-static ${LIBUSB_LIBRARIES}
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+ tdeparts-shared tdehtml-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
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
+)
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
new file mode 100644
index 0000000..b31a000
--- /dev/null
+++ b/src/tools/CMakeLists.txt
@@ -0,0 +1,18 @@
+
+##### subfolders
+
+add_subdirectory( base )
+add_subdirectory( boost )
+add_subdirectory( c18 )
+add_subdirectory( cc5x )
+add_subdirectory( ccsc )
+add_subdirectory( custom )
+add_subdirectory( gputils )
+add_subdirectory( gui )
+add_subdirectory( jal )
+add_subdirectory( jalv2 )
+add_subdirectory( list )
+add_subdirectory( mpc )
+add_subdirectory( pic30 )
+add_subdirectory( picc )
+add_subdirectory( sdcc )
diff --git a/src/tools/base/CMakeLists.txt b/src/tools/base/CMakeLists.txt
new file mode 100644
index 0000000..7dff935
--- /dev/null
+++ b/src/tools/base/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libtoolbase (static)
+
+tde_add_library( toolbase STATIC_PIC AUTOMOC
+ SOURCES generic_tool.cpp tool_group.cpp
+)
diff --git a/src/tools/boost/CMakeLists.txt b/src/tools/boost/CMakeLists.txt
new file mode 100644
index 0000000..8841e0b
--- /dev/null
+++ b/src/tools/boost/CMakeLists.txt
@@ -0,0 +1,17 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libboost (static)
+
+tde_add_library( boost STATIC_PIC AUTOMOC
+ SOURCES
+ boostc.cpp boostc_compile.cpp boost_config.cpp
+ boost.cpp boostcpp.cpp boostbasic.cpp boost_generator.cpp
+)
diff --git a/src/tools/boost/gui/CMakeLists.txt b/src/tools/boost/gui/CMakeLists.txt
new file mode 100644
index 0000000..21ea565
--- /dev/null
+++ b/src/tools/boost/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libboostui (static)
+
+tde_add_library( boostui STATIC_PIC AUTOMOC
+ SOURCES boost_ui.cpp
+)
diff --git a/src/tools/c18/CMakeLists.txt b/src/tools/c18/CMakeLists.txt
new file mode 100644
index 0000000..157052a
--- /dev/null
+++ b/src/tools/c18/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libc18 (static)
+
+tde_add_library( c18 STATIC_PIC AUTOMOC
+ SOURCES c18_compile.cpp c18_config.cpp c18.cpp
+)
diff --git a/src/tools/c18/gui/CMakeLists.txt b/src/tools/c18/gui/CMakeLists.txt
new file mode 100644
index 0000000..fb5263c
--- /dev/null
+++ b/src/tools/c18/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libc18ui (static)
+
+tde_add_library( c18ui STATIC_PIC AUTOMOC
+ SOURCES c18_ui.cpp
+)
diff --git a/src/tools/cc5x/CMakeLists.txt b/src/tools/cc5x/CMakeLists.txt
new file mode 100644
index 0000000..320d1e7
--- /dev/null
+++ b/src/tools/cc5x/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libcc5x (static)
+
+tde_add_library( cc5x STATIC_PIC AUTOMOC
+ SOURCES cc5x_compile.cpp cc5x_config.cpp cc5x.cpp
+)
diff --git a/src/tools/cc5x/gui/CMakeLists.txt b/src/tools/cc5x/gui/CMakeLists.txt
new file mode 100644
index 0000000..4fbaa94
--- /dev/null
+++ b/src/tools/cc5x/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libcc5xui (static)
+
+tde_add_library( cc5xui STATIC_PIC AUTOMOC
+ SOURCES cc5x_ui.cpp
+)
diff --git a/src/tools/ccsc/CMakeLists.txt b/src/tools/ccsc/CMakeLists.txt
new file mode 100644
index 0000000..f8af711
--- /dev/null
+++ b/src/tools/ccsc/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libccsc (static)
+
+tde_add_library( ccsc STATIC_PIC AUTOMOC
+ SOURCES ccsc_compile.cpp ccsc_config.cpp ccsc.cpp
+)
diff --git a/src/tools/ccsc/gui/CMakeLists.txt b/src/tools/ccsc/gui/CMakeLists.txt
new file mode 100644
index 0000000..f8461a5
--- /dev/null
+++ b/src/tools/ccsc/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libccscui (static)
+
+tde_add_library( ccscui STATIC_PIC AUTOMOC
+ SOURCES ccsc_ui.cpp
+)
diff --git a/src/tools/custom/CMakeLists.txt b/src/tools/custom/CMakeLists.txt
new file mode 100644
index 0000000..1c76e54
--- /dev/null
+++ b/src/tools/custom/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+##### libcustom (static)
+
+tde_add_library( custom STATIC_PIC AUTOMOC
+ SOURCES custom.cpp
+)
diff --git a/src/tools/gputils/CMakeLists.txt b/src/tools/gputils/CMakeLists.txt
new file mode 100644
index 0000000..7f76209
--- /dev/null
+++ b/src/tools/gputils/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libgputils (static)
+
+tde_add_library( gputils STATIC_PIC AUTOMOC
+ SOURCES gputils_compile.cpp gputils_config.cpp gputils.cpp gputils_generator.cpp
+)
diff --git a/src/tools/gputils/gui/CMakeLists.txt b/src/tools/gputils/gui/CMakeLists.txt
new file mode 100644
index 0000000..9191bb0
--- /dev/null
+++ b/src/tools/gputils/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libgputilsui (static)
+
+tde_add_library( gputilsui STATIC_PIC AUTOMOC
+ SOURCES gputils_ui.cpp
+)
diff --git a/src/tools/gui/CMakeLists.txt b/src/tools/gui/CMakeLists.txt
new file mode 100644
index 0000000..9a39ff6
--- /dev/null
+++ b/src/tools/gui/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libtoolui (static)
+
+tde_add_library( toolui STATIC_PIC AUTOMOC
+ SOURCES
+ tool_group_ui.cpp toolchain_config_widget.cpp
+ tool_config_widget.cpp toolchain_config_center.cpp
+)
diff --git a/src/tools/jal/CMakeLists.txt b/src/tools/jal/CMakeLists.txt
new file mode 100644
index 0000000..91d0413
--- /dev/null
+++ b/src/tools/jal/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libjal (static)
+
+tde_add_library( jal STATIC_PIC AUTOMOC
+ SOURCES jal_compile.cpp jal_config.cpp jal.cpp jal_generator.cpp
+)
diff --git a/src/tools/jal/gui/CMakeLists.txt b/src/tools/jal/gui/CMakeLists.txt
new file mode 100644
index 0000000..2b14fdc
--- /dev/null
+++ b/src/tools/jal/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libjalui (static)
+
+tde_add_library( jalui STATIC_PIC AUTOMOC
+ SOURCES jal_ui.cpp
+)
diff --git a/src/tools/jalv2/CMakeLists.txt b/src/tools/jalv2/CMakeLists.txt
new file mode 100644
index 0000000..fdad9bc
--- /dev/null
+++ b/src/tools/jalv2/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libjalv2 (static)
+
+tde_add_library( jalv2 STATIC_PIC AUTOMOC
+ SOURCES jalv2_compile.cpp jalv2_config.cpp jalv2.cpp
+)
diff --git a/src/tools/jalv2/gui/CMakeLists.txt b/src/tools/jalv2/gui/CMakeLists.txt
new file mode 100644
index 0000000..adac26b
--- /dev/null
+++ b/src/tools/jalv2/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libjalv2ui (static)
+
+tde_add_library( jalv2ui STATIC_PIC AUTOMOC
+ SOURCES jalv2_ui.cpp
+)
diff --git a/src/tools/list/CMakeLists.txt b/src/tools/list/CMakeLists.txt
new file mode 100644
index 0000000..a91e9d8
--- /dev/null
+++ b/src/tools/list/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libtoollist (static)
+
+tde_add_library( toollist STATIC_PIC AUTOMOC
+ SOURCES
+ tool_list.cpp tools_config_widget.cpp compile_config.cpp
+ device_info.cpp compile_manager.cpp compile_process.cpp
+)
diff --git a/src/tools/mpc/CMakeLists.txt b/src/tools/mpc/CMakeLists.txt
new file mode 100644
index 0000000..d7b7886
--- /dev/null
+++ b/src/tools/mpc/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libmpc (static)
+
+tde_add_library( mpc STATIC_PIC AUTOMOC
+ SOURCES mpc_compile.cpp mpc_config.cpp mpc.cpp
+)
diff --git a/src/tools/mpc/gui/CMakeLists.txt b/src/tools/mpc/gui/CMakeLists.txt
new file mode 100644
index 0000000..e436f62
--- /dev/null
+++ b/src/tools/mpc/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libmpcui (static)
+
+tde_add_library( mpcui STATIC_PIC AUTOMOC
+ SOURCES mpc_ui.cpp
+)
diff --git a/src/tools/pic30/CMakeLists.txt b/src/tools/pic30/CMakeLists.txt
new file mode 100644
index 0000000..5ced98d
--- /dev/null
+++ b/src/tools/pic30/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libpic30 (static)
+
+tde_add_library( pic30 STATIC_PIC AUTOMOC
+ SOURCES pic30_compile.cpp pic30_config.cpp pic30.cpp pic30_generator.cpp
+)
diff --git a/src/tools/pic30/gui/CMakeLists.txt b/src/tools/pic30/gui/CMakeLists.txt
new file mode 100644
index 0000000..14a55e6
--- /dev/null
+++ b/src/tools/pic30/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpic30ui (static)
+
+tde_add_library( pic30ui STATIC_PIC AUTOMOC
+ SOURCES pic30_ui.cpp
+)
diff --git a/src/tools/picc/CMakeLists.txt b/src/tools/picc/CMakeLists.txt
new file mode 100644
index 0000000..fb11979
--- /dev/null
+++ b/src/tools/picc/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libpicc (static)
+
+tde_add_library( picc STATIC_PIC AUTOMOC
+ SOURCES picc_compile.cpp picc_config.cpp picc.cpp
+)
diff --git a/src/tools/picc/gui/CMakeLists.txt b/src/tools/picc/gui/CMakeLists.txt
new file mode 100644
index 0000000..203c6e5
--- /dev/null
+++ b/src/tools/picc/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libpiccui (static)
+
+tde_add_library( piccui STATIC_PIC AUTOMOC
+ SOURCES picc_ui.cpp
+)
diff --git a/src/tools/sdcc/CMakeLists.txt b/src/tools/sdcc/CMakeLists.txt
new file mode 100644
index 0000000..c79c037
--- /dev/null
+++ b/src/tools/sdcc/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libsdcc (static)
+
+tde_add_library( sdcc STATIC_PIC AUTOMOC
+ SOURCES sdcc_compile.cpp sdcc_config.cpp sdcc.cpp sdcc_generator.cpp
+)
diff --git a/src/tools/sdcc/gui/CMakeLists.txt b/src/tools/sdcc/gui/CMakeLists.txt
new file mode 100644
index 0000000..d7ca469
--- /dev/null
+++ b/src/tools/sdcc/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libsdccui (static)
+
+tde_add_library( sdccui STATIC_PIC AUTOMOC
+ SOURCES sdcc_ui.cpp
+)
diff --git a/src/xml_to_data/CMakeLists.txt b/src/xml_to_data/CMakeLists.txt
new file mode 100644
index 0000000..995cc45
--- /dev/null
+++ b/src/xml_to_data/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+##### libxmltodata (static)
+
+tde_add_library( xmltodata STATIC_PIC AUTOMOC
+ SOURCES xml_to_data.cpp device_xml_to_data.cpp
+ LINK ${TQT_LIBRARIES}
+)