diff options
author | Michele Calgaro <[email protected]> | 2024-05-07 18:59:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-10 10:25:20 +0900 |
commit | dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209 (patch) | |
tree | 5774d9f9cb72172ba61ded3344e43577f9baf227 /src/progs/bootloader | |
parent | d5d77862d18d9246d246969afc869713877f80fc (diff) | |
download | piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.tar.gz piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.zip |
CMake conversion
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17)
Diffstat (limited to 'src/progs/bootloader')
-rw-r--r-- | src/progs/bootloader/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/progs/bootloader/base/CMakeLists.txt | 10 | ||||
-rw-r--r-- | src/progs/bootloader/gui/CMakeLists.txt | 6 |
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 +) |