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 /CMakeLists.txt | |
| 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 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ab5f70..33635ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,9 +49,12 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ##### user requested modules -option( BUILD_ALL "Build all" ON ) -option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) -option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) +option( BUILD_ALL "Build all" ON ) +option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) +option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) + +option( BUILD_IPTINTERFACE "Build kmfiptinterface" OFF ) +option( BUILD_SYSTRAY "Build kmfsystray" OFF ) ##### configure checks @@ -71,6 +74,8 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( kmyfirewall ) add_subdirectory( pics ) add_subdirectory( templates ) +tde_conditional_add_subdirectory( BUILD_IPTINTERFACE KMFIPTInterface ) +tde_conditional_add_subdirectory( BUILD_SYSTRAY KMFSysTray ) ##### other data ################################ |
