summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: f1b99affb9a2542d86d61c4ce27206920653193f (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
add_subdirectory( icons )

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### kvpnc (executable)

tde_add_executable( ${PROJECT_NAME} AUTOMOC

  SOURCES
        kvpnc.skel
        addnetworkroutedialogbase.ui ciscocertificateenrollmentbase.ui
        ciscocertificateenrollmentdatadialogbase.ui
        ciscocertificateenrollmentfinishwidgetbase.ui
        configconnectoptionsbase.ui configdaemonoptionsbase.ui
        configdebugoptionsbase.ui configgeneraloptions.ui
        confighelperprogramoptionsbase.ui configlogoptionsbase.ui
        displaycertdialogbase.ui enterpassworddialogbase.ui
        enterxauthinteractivepasscodedialogbase.ui
        generateopenvpnkeydialogbase.ui helpdialog.cpp helpdialogbase.ui
        importcertificatedialogbase.ui importopenvpnprofiledialogbase.ui
        importprofiledialogbase.ui kvpncimportprofileselectiondialogbase.ui
        logviewerdialogbase.ui mainviewbase.ui manageciscocertbase.ui
        newprofiledialogbase.ui newprofilewizardauthselection.ui
        newprofilewizardcert.ui newprofilewizardciscomanually.ui
        newprofilewizardciscoselection.ui newprofilewizardconnectionstatuscheck.ui
        newprofilewizardconnectoptions.ui newprofilewizardfreeswan.ui
        newprofilewizardgeneral.ui newprofilewizardnat.ui
        newprofilewizardnetwork.ui newprofilewizardnetworkroute.ui
        newprofilewizardopenvpn.ui newprofilewizardopenvpnauth.ui
        newprofilewizardopenvpnselection.ui newprofilewizardp12certselection.ui
        newprofilewizardpptp.ui newprofilewizardpsk.ui newprofilewizardracoon.ui
        newprofilewizardstart.ui newprofilewizardtypeselection.ui
        newprofilewizarduser.ui profilecertoptionsbase.ui
        profileciscooptionsbase.ui profilecmdexecafterconnectoptionsbase.ui
        profilecmdexecafterdisconnectoptionsbase.ui
        profilecmdexecbeforeconnectoptionsbase.ui
        profilecmdexecbeforedisconnectoptionsbase.ui
        profilegeneraloptionsbase.ui profileipsecoptionsbase.ui
        profilenetworkgeneraloptionsbase.ui profilenetworkhttpproxyoptionsbase.ui
        profilenetworknatoptionsbase.ui profilenetworkrouteoptionsbase.ui
        profilenetworkvirtualipoptionsbase.ui profileopenvpnoptionsbase.ui
        profilepptpoptionsbase.ui profilepskoptionsbase.ui
        profileracoonoptionsbase.ui profilesmartcardoptionsbase.ui
        profilesshoptionsbase.ui profileuseroptionsbase.ui
        profilevtunoptionsbase.ui toolsinfowidgetbase.ui
        addnetworkroutedialog.cpp ciscocertificateenrollment.cpp
        ciscocertificateenrollmentdatadialog.cpp ciscopasswddecoder.cpp
        configdebugoptions.cpp configconnectoptions.cpp configdaemonoptions.cpp
        confighelperprogramoptions.cpp configlogoptions.cpp debugoutputtextedit.cpp
        displaycertdialog.cpp enterpassworddialog.cpp
        enterxauthinteractivepasscodedialog.cpp generateopenvpnkeydialog.cpp
        importcertificatedialog.cpp importipsecprofiledialog.cpp
        importopenvpnprofiledialog.cpp importprofiledialog.cpp
        kfeedback.cpp kvpnc.cpp kvpncconfig.cpp kvpncimportprofileselectiondialog.cpp
        kvpnckicker.cpp listviewtooltip.cpp logviewerdialog.cpp  main.cpp
        mainview.cpp manageciscocert.cpp networkinterface.cpp newprofiledialog.cpp
        newprofilewizard.cpp openvpnmanagementhandler.cpp preferencesdialog.cpp
        profilecertoptions.cpp profileciscooptions.cpp
        profilecmdexecafterconnectoptions.cpp profilecmdexecafterdisconnectoptions.cpp
        profilecmdexecbeforeconnectoptions.cpp profilecmdexecbeforedisconnectoptions.cpp
        profilegeneraloptions.cpp profileipsecoptions.cpp
        profilenetworkgeneraloptions.cpp profilenetworkhttpproxyoptions.cpp
        profilenetworknatoptions.cpp profilenetworkrouteoptions.cpp
        profilenetworkvirtualipoptions.cpp profileopenvpnoptions.cpp
        profilepptpoptions.cpp profilepskoptions.cpp profileracoonoptions.cpp
        profilesmartcardoptions.cpp profilesshoptions.cpp profileuseroptions.cpp
        profilevtunoptions.cpp toolinfo.cpp toolsinfodialog.cpp utils.cpp
        vpnaccountdata.cpp vpntypesinfodialog.cpp widgetnotifyhelper.cpp 
  LINK
     tdeui-shared
     tdecore-shared
     tdeio-shared
     tdewalletclient-shared
     ${LIBGCRYPT_LIBRARIES} 
     
  DESTINATION ${BIN_INSTALL_DIR}
)


##### other data


install(
    PROGRAMS ping_check.sh
    DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)

install(
    FILES
        eventsrc
        kvpncui.rc
        newprofilewizard.png
        newprofilewizard_final.png
        ovpn.protocol

    DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)

install(
    FILES pcf.protocol
    DESTINATION ${SERVICES_INSTALL_DIR}
)

install(
    FILES ${PROJECT_NAME}.desktop
    DESTINATION ${XDG_APPS_INSTALL_DIR}
)