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:25:20 +0900 |
commit | dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209 (patch) | |
tree | 5774d9f9cb72172ba61ded3344e43577f9baf227 /src/progs/picdem_bootloader | |
parent | d5d77862d18d9246d246969afc869713877f80fc (diff) | |
download | piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.tar.gz piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.zip |
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17)
Diffstat (limited to 'src/progs/picdem_bootloader')
-rw-r--r-- | src/progs/picdem_bootloader/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/progs/picdem_bootloader/base/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/progs/picdem_bootloader/gui/CMakeLists.txt | 9 | ||||
-rw-r--r-- | src/progs/picdem_bootloader/xml/CMakeLists.txt | 9 |
4 files changed, 40 insertions, 0 deletions
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 +) |