summaryrefslogtreecommitdiffstats
path: root/src/progs/picdem_bootloader/base/CMakeLists.txt
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/picdem_bootloader/base/CMakeLists.txt
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/picdem_bootloader/base/CMakeLists.txt')
-rw-r--r--src/progs/picdem_bootloader/base/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
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
+)