diff options
Diffstat (limited to 'src/progs/pickit2_bootloader')
-rw-r--r-- | src/progs/pickit2_bootloader/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/progs/pickit2_bootloader/base/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/progs/pickit2_bootloader/gui/CMakeLists.txt | 9 | ||||
-rw-r--r-- | src/progs/pickit2_bootloader/xml/CMakeLists.txt | 9 |
4 files changed, 40 insertions, 0 deletions
diff --git a/src/progs/pickit2_bootloader/CMakeLists.txt b/src/progs/pickit2_bootloader/CMakeLists.txt new file mode 100644 index 0000000..80e4ca1 --- /dev/null +++ b/src/progs/pickit2_bootloader/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### subfolders + +add_subdirectory( xml ) +add_subdirectory( base ) +add_subdirectory( gui ) diff --git a/src/progs/pickit2_bootloader/base/CMakeLists.txt b/src/progs/pickit2_bootloader/base/CMakeLists.txt new file mode 100644 index 0000000..d9a2da9 --- /dev/null +++ b/src/progs/pickit2_bootloader/base/CMakeLists.txt @@ -0,0 +1,16 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libpickit2bootloader (static) + +add_custom_command( + OUTPUT pickit2_bootloader_data.cpp + COMMAND xml_pickit2_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR} +) + +tde_add_library( pickit2bootloader STATIC_PIC AUTOMOC + SOURCES + pickit2_bootloader.cpp pickit2_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit2_bootloader_data.cpp +) diff --git a/src/progs/pickit2_bootloader/gui/CMakeLists.txt b/src/progs/pickit2_bootloader/gui/CMakeLists.txt new file mode 100644 index 0000000..3b361a2 --- /dev/null +++ b/src/progs/pickit2_bootloader/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libpickit2bootloaderui (static) + +tde_add_library( pickit2bootloaderui STATIC_PIC AUTOMOC + SOURCES pickit2_bootloader_ui.cpp +) diff --git a/src/progs/pickit2_bootloader/xml/CMakeLists.txt b/src/progs/pickit2_bootloader/xml/CMakeLists.txt new file mode 100644 index 0000000..423713a --- /dev/null +++ b/src/progs/pickit2_bootloader/xml/CMakeLists.txt @@ -0,0 +1,9 @@ + +##### xml_pickit2_bootloader_parser (executable) + +tde_add_executable( xml_pickit2_bootloader_parser AUTOMOC + SOURCES xml_pickit2_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 +) |