diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2025-04-10 16:02:55 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2025-04-10 16:39:14 +0200 |
| commit | b397827f4140520cc6c85fa3ca61eee732211983 (patch) | |
| tree | 06dee49809f0d654c912daefcc908f9039e5e685 /KMFIPTInterface | |
| parent | 59842c035633e1bb122c2a2e7fa87674471add99 (diff) | |
| download | kmyfirewall-b397827f.tar.gz kmyfirewall-b397827f.zip | |
Add CMake rules for parts that are now not used and are not ready for building.
This is the equivalent for the existing automake rules that will be removed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a52ec42736a5948686c59b51e1447eb187c19896)
Diffstat (limited to 'KMFIPTInterface')
| -rw-r--r-- | KMFIPTInterface/CMakeLists.txt | 40 | ||||
| -rw-r--r-- | KMFIPTInterface/ConfigureChecks.cmake | 4 |
2 files changed, 44 insertions, 0 deletions
diff --git a/KMFIPTInterface/CMakeLists.txt b/KMFIPTInterface/CMakeLists.txt new file mode 100644 index 0000000..43514ea --- /dev/null +++ b/KMFIPTInterface/CMakeLists.txt @@ -0,0 +1,40 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kmyfirewall + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} + ${IPTC_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### configure checks + +tde_message_fatal( + "KMFIPTInterface is not ready for building and probably would not be functional" + "after the change iptables => xtables in Linux kernel." +) + +include( ConfigureChecks.cmake ) + + +##### kmfiptinterface (executable) + +tde_add_executable( kmfiptinterface AUTOMOC + SOURCES main.cpp kmfiptinterface.cpp iptchecker.cpp kmfiptinterface.skel + LINK tdeio-shared DCOP-shared ${IPTC_LIBRARIES} + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +tde_create_translated_desktop( + SOURCE kmfiptinterface.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/KMFIPTInterface/ConfigureChecks.cmake b/KMFIPTInterface/ConfigureChecks.cmake new file mode 100644 index 0000000..f253ad1 --- /dev/null +++ b/KMFIPTInterface/ConfigureChecks.cmake @@ -0,0 +1,4 @@ + +##### search for iptc + +pkg_search_module( IPTC libip4tc ) |
