diff options
Diffstat (limited to 'src/progs/direct')
-rw-r--r-- | src/progs/direct/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/progs/direct/base/CMakeLists.txt | 18 | ||||
-rw-r--r-- | src/progs/direct/gui/CMakeLists.txt | 9 | ||||
-rw-r--r-- | src/progs/direct/xml/CMakeLists.txt | 9 |
4 files changed, 42 insertions, 0 deletions
diff --git a/src/progs/direct/CMakeLists.txt b/src/progs/direct/CMakeLists.txt new file mode 100644 index 0000000..80e4ca1 --- /dev/null +++ b/src/progs/direct/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### subfolders + +add_subdirectory( xml ) +add_subdirectory( base ) +add_subdirectory( gui ) diff --git a/src/progs/direct/base/CMakeLists.txt b/src/progs/direct/base/CMakeLists.txt new file mode 100644 index 0000000..1e9d4f2 --- /dev/null +++ b/src/progs/direct/base/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libdirectprog (static) + +add_custom_command( + OUTPUT direct_data.cpp + COMMAND xml_direct_parser ${CMAKE_CURRENT_SOURCE_DIR} +) + +tde_add_library( directprog STATIC_PIC AUTOMOC + SOURCES + direct_pic.cpp direct_baseline.cpp direct_16.cpp direct_16F.cpp + direct_18.cpp direct_18F.cpp direct_prog.cpp direct_prog_config.cpp + direct_mem24.cpp direct.cpp ${CMAKE_CURRENT_BINARY_DIR}/direct_data.cpp +) diff --git a/src/progs/direct/gui/CMakeLists.txt b/src/progs/direct/gui/CMakeLists.txt new file mode 100644 index 0000000..9c737ac --- /dev/null +++ b/src/progs/direct/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libdirectui (static) + +tde_add_library( directui STATIC_PIC AUTOMOC + SOURCES direct_config_widget.cpp +) diff --git a/src/progs/direct/xml/CMakeLists.txt b/src/progs/direct/xml/CMakeLists.txt new file mode 100644 index 0000000..af9f4e8 --- /dev/null +++ b/src/progs/direct/xml/CMakeLists.txt @@ -0,0 +1,9 @@ + +##### xml_direct_parser (executable) + +tde_add_executable( xml_direct_parser AUTOMOC + SOURCES xml_direct_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 +) |