diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-07 18:59:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-10 10:12:21 +0900 |
commit | 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17 (patch) | |
tree | aad515de6f834996717e6081de9345e691208164 /src/common | |
parent | ee905d21f182005df07129483be48f35292856fe (diff) | |
download | piklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.tar.gz piklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.zip |
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/common/cli/CMakeLists.txt | 9 | ||||
-rw-r--r-- | src/common/common/CMakeLists.txt | 13 | ||||
-rw-r--r-- | src/common/global/CMakeLists.txt | 11 | ||||
-rw-r--r-- | src/common/gui/CMakeLists.txt | 11 | ||||
-rw-r--r-- | src/common/port/CMakeLists.txt | 6 |
6 files changed, 58 insertions, 0 deletions
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 +) |