summaryrefslogtreecommitdiffstats
path: root/knetworkconf
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-08-11 09:09:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-01 19:02:09 +0200
commitd9576addaa0ca9588e484dba09dacc236b41a332 (patch)
tree2bc59dfe549facc5db3e355b7c328404b72b5ed8 /knetworkconf
parent5a68382903e8a21e43a50fa9f87b1968d3cb00b9 (diff)
downloadtdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.tar.gz
tdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.zip
First bach of cmake files in order to convert tdeadmin
from autotools to cmake building system. (cherry picked from commit 88073834d0052272dce61556b9508e66b84cd494)
Diffstat (limited to 'knetworkconf')
-rw-r--r--knetworkconf/CMakeLists.txt5
-rw-r--r--knetworkconf/backends/CMakeLists.txt1
-rw-r--r--knetworkconf/knetworkconf/CMakeLists.txt45
-rw-r--r--knetworkconf/pixmaps/CMakeLists.txt13
4 files changed, 64 insertions, 0 deletions
diff --git a/knetworkconf/CMakeLists.txt b/knetworkconf/CMakeLists.txt
new file mode 100644
index 0000000..f5b50fa
--- /dev/null
+++ b/knetworkconf/CMakeLists.txt
@@ -0,0 +1,5 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( knetworkconf )
+add_subdirectory( backends )
+add_subdirectory( pixmaps )
diff --git a/knetworkconf/backends/CMakeLists.txt b/knetworkconf/backends/CMakeLists.txt
new file mode 100644
index 0000000..89a876b
--- /dev/null
+++ b/knetworkconf/backends/CMakeLists.txt
@@ -0,0 +1 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
diff --git a/knetworkconf/knetworkconf/CMakeLists.txt b/knetworkconf/knetworkconf/CMakeLists.txt
new file mode 100644
index 0000000..a00d070
--- /dev/null
+++ b/knetworkconf/knetworkconf/CMakeLists.txt
@@ -0,0 +1,45 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+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}
+)
+
+add_definitions( -UQT_NO_COMPAT
+)
+
+
+##### kcm_knetworkconfmodule (kpart) ############
+
+tde_add_kpart( kcm_knetworkconfmodule AUTOMOC
+ SOURCES tdeselectdistrodlg.ui kknownhostinfo.cpp kinterfaceupdowndlg.ui
+ kaddknownhostdlg.ui kdetectdistrodlg.ui knetworkconfmodule.cpp
+ kroutinginfo.cpp kreloadnetworkdlg.ui kaddressvalidator.cpp kdnsinfo.cpp
+ knetworkinfo.cpp kadddevicedlg.ui kadddnsserverdlg.ui
+ knetworkconfigparser.cpp knetworkinterface.cpp knetworkconfdlg.ui
+ knetworkconf.cpp main.cpp kadddevicedlgextension.ui knetworkconfiface.skel
+ kwirelessinterface.cpp kadddevicewifiext.ui kadddevicecontainer.cpp
+ kprofileslistviewtooltip.cpp
+ LINK tdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### icons #####################################
+
+tde_install_icons( )
+
+
+##### other data ################################
+
+install( FILES kcm_knetworkconfmodule.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/knetworkconf/pixmaps/CMakeLists.txt b/knetworkconf/pixmaps/CMakeLists.txt
new file mode 100644
index 0000000..3bf4b1d
--- /dev/null
+++ b/knetworkconf/pixmaps/CMakeLists.txt
@@ -0,0 +1,13 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( network_connected_lan_knc network_disconnected_lan
+ network_disconnected_wlan network_traffic_wlan )
+
+
+##### other data ################################
+
+install( FILES ark.png debian.png mandriva.png blackpanther.png pld.png
+ redhat.png suse.png turbolinux.png conectiva.png fedora.png openna.png
+ slackware.png freebsd.png gentoo.png vine.png kubuntu.png yoper.png rpath.png
+ DESTINATION ${DATA_INSTALL_DIR}/knetworkconf/pixmaps/
+)