summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/ruleoptionplugins/log_target_option/CMakeLists.txt
blob: dc0ba7645ccd609f4e47727ce05b855c015ddc76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}/kmyfirewall/ipteditor
)

##### libkmfruletargetoptionedit_log

tde_add_library( kmfruletargetoptionedit_log SHARED AUTOMOC
  SOURCES
    kmfruletargetoptioneditlog.cpp kmfruleedittargetlog.cpp kmyfirewallruleeditortargetlog.ui
  LINK
    kmfcore-shared tdecore-shared tdeui-shared tdeio-shared tdeparts-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}
)

set_property(
  SOURCE kmfruletargetoptioneditlog.cpp
  APPEND PROPERTY OBJECT_DEPENDS
  ${CMAKE_BINARY_DIR}/kmyfirewall/ipteditor/kmyfirewallruleeditor.h
)


##### other data

tde_create_translated_desktop(
  SOURCE kmfruletargetoptionedit_log.desktop
  DESTINATION ${SERVICES_INSTALL_DIR}
)

install(
  FILES kmfruleoption_target_log_option.xml
  DESTINATION ${DATA_INSTALL_DIR}/kmyfirewall/ruleoptions
)