summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-01-04 23:04:03 +0100
committergregory guy <[email protected]>2019-01-04 23:04:03 +0100
commit4a479930bbaafbeeaaf525507eb0af47ea2adcd2 (patch)
tree08cb28d533bcd21ed01da07d734990d612bef09a /src
parentec7d3bd017cec514f434457c101a6982a17cb32d (diff)
downloadkcmldap-4a479930bbaafbeeaaf525507eb0af47ea2adcd2.tar.gz
kcmldap-4a479930bbaafbeeaaf525507eb0af47ea2adcd2.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..18a7fcd
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,46 @@
+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}
+)
+
+
+##### kcm_ldapbonding (kpart)
+
+tde_add_kpart( kcm_ldapbonding AUTOMOC
+
+ SOURCES
+ ldapconfigbase.ui
+ bondintropagedlg.ui
+ bondrealmpagedlg.ui
+ bondfinishpagedlg.ui
+ tdeumaskinput.cpp
+ ldapbonding.cpp
+ realmpropertiesdialog.cpp
+ bondintropage.cpp
+ bondrealmpage.cpp
+ bondfinishpage.cpp
+ bondwizard.cpp
+ ldappasswddlg.cpp
+ LINK
+ tdeio-shared
+ tdeui-shared
+ ${LIBTDELDAP_LIBRARIES}
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES ldapbonding.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)