From 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17 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 --- src/common/CMakeLists.txt | 8 ++++++++ src/common/cli/CMakeLists.txt | 9 +++++++++ src/common/common/CMakeLists.txt | 13 +++++++++++++ src/common/global/CMakeLists.txt | 11 +++++++++++ src/common/gui/CMakeLists.txt | 11 +++++++++++ src/common/port/CMakeLists.txt | 6 ++++++ 6 files changed, 58 insertions(+) create mode 100644 src/common/CMakeLists.txt create mode 100644 src/common/cli/CMakeLists.txt create mode 100644 src/common/common/CMakeLists.txt create mode 100644 src/common/global/CMakeLists.txt create mode 100644 src/common/gui/CMakeLists.txt create mode 100644 src/common/port/CMakeLists.txt (limited to 'src/common') 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 +) -- cgit v1.2.3