diff options
Diffstat (limited to 'src/devices/pic')
-rw-r--r-- | src/devices/pic/CMakeLists.txt | 9 | ||||
-rw-r--r-- | src/devices/pic/base/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/devices/pic/gui/CMakeLists.txt | 11 | ||||
-rw-r--r-- | src/devices/pic/pic/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/devices/pic/prog/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/devices/pic/xml/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/devices/pic/xml_data/CMakeLists.txt | 11 |
7 files changed, 56 insertions, 0 deletions
diff --git a/src/devices/pic/CMakeLists.txt b/src/devices/pic/CMakeLists.txt new file mode 100644 index 0000000..d126bcc --- /dev/null +++ b/src/devices/pic/CMakeLists.txt @@ -0,0 +1,9 @@ + +##### subfolders + +add_subdirectory( base ) +add_subdirectory( gui ) +add_subdirectory( pic ) +add_subdirectory( prog ) +add_subdirectory( xml ) +add_subdirectory( xml_data ) diff --git a/src/devices/pic/base/CMakeLists.txt b/src/devices/pic/base/CMakeLists.txt new file mode 100644 index 0000000..83fbf63 --- /dev/null +++ b/src/devices/pic/base/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### libpicbase (static) + +tde_add_library( picbase STATIC_PIC AUTOMOC + SOURCES pic.cpp pic_config.cpp pic_protection.cpp pic_register.cpp +) diff --git a/src/devices/pic/gui/CMakeLists.txt b/src/devices/pic/gui/CMakeLists.txt new file mode 100644 index 0000000..a755e0f --- /dev/null +++ b/src/devices/pic/gui/CMakeLists.txt @@ -0,0 +1,11 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libpicui (static) + +tde_add_library( picui STATIC_PIC AUTOMOC + SOURCES + pic_config_editor.cpp pic_config_word_editor.cpp pic_hex_view.cpp + pic_memory_editor.cpp pic_register_view.cpp pic_group_ui.cpp pic_prog_group_ui.cpp +) diff --git a/src/devices/pic/pic/CMakeLists.txt b/src/devices/pic/pic/CMakeLists.txt new file mode 100644 index 0000000..4cb13e3 --- /dev/null +++ b/src/devices/pic/pic/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### libpic (static) + +tde_add_library( pic STATIC_PIC AUTOMOC + SOURCES pic_memory.cpp pic_group.cpp +) diff --git a/src/devices/pic/prog/CMakeLists.txt b/src/devices/pic/prog/CMakeLists.txt new file mode 100644 index 0000000..57d987f --- /dev/null +++ b/src/devices/pic/prog/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### libpicprog (static) + +tde_add_library( picprog STATIC_PIC AUTOMOC + SOURCES pic_prog.cpp pic_prog_specific.cpp pic_debug.cpp +) diff --git a/src/devices/pic/xml/CMakeLists.txt b/src/devices/pic/xml/CMakeLists.txt new file mode 100644 index 0000000..2cb4415 --- /dev/null +++ b/src/devices/pic/xml/CMakeLists.txt @@ -0,0 +1,7 @@ + +##### pic_xml_to_data (executable) + +tde_add_executable( pic_xml_to_data AUTOMOC + SOURCES pic_xml_to_data.cpp + LINK picbase-static xmltodata-static devicebase-static common-static tdecore-shared +) diff --git a/src/devices/pic/xml_data/CMakeLists.txt b/src/devices/pic/xml_data/CMakeLists.txt new file mode 100644 index 0000000..df4c2b2 --- /dev/null +++ b/src/devices/pic/xml_data/CMakeLists.txt @@ -0,0 +1,11 @@ + +##### libpicxml (static) + +add_custom_command( + OUTPUT pic_data.cpp + COMMAND pic_xml_to_data ${CMAKE_CURRENT_SOURCE_DIR} +) + +tde_add_library( picxml STATIC_PIC AUTOMOC + SOURCES ${CMAKE_CURRENT_BINARY_DIR}/pic_data.cpp +) |