summaryrefslogtreecommitdiffstats
path: root/src/progs/tbl_bootloader/base/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/tbl_bootloader/base/CMakeLists.txt')
-rw-r--r--src/progs/tbl_bootloader/base/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/progs/tbl_bootloader/base/CMakeLists.txt b/src/progs/tbl_bootloader/base/CMakeLists.txt
new file mode 100644
index 0000000..172bca4
--- /dev/null
+++ b/src/progs/tbl_bootloader/base/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libtblbootloader (static)
+
+add_custom_command(
+ OUTPUT tbl_bootloader_data.cpp
+ COMMAND xml_tbl_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+tde_add_library( tblbootloader STATIC_PIC AUTOMOC
+ SOURCES
+ tbl_bootloader.cpp tbl_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/tbl_bootloader_data.cpp
+)