summaryrefslogtreecommitdiffstats
path: root/src/progs/bootloader
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/progs/bootloader
parentee905d21f182005df07129483be48f35292856fe (diff)
downloadpiklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.tar.gz
piklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.zip
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/progs/bootloader')
-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
3 files changed, 21 insertions, 0 deletions
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
+)