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/progs/pickit1 | |
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/progs/pickit1')
-rw-r--r-- | src/progs/pickit1/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/progs/pickit1/base/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/progs/pickit1/gui/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/progs/pickit1/xml/CMakeLists.txt | 9 |
4 files changed, 37 insertions, 0 deletions
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 +) |