summaryrefslogtreecommitdiffstats
path: root/kcontrol/displayconfig/CMakeLists.txt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-08 05:02:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-08 05:02:16 +0000
commit486c5bfc26cbada0d8e05371c01211de663a209d (patch)
tree9b3a01eb1cc04f699e239bb06a76286f2acaae58 /kcontrol/displayconfig/CMakeLists.txt
parent35cf72fe7f736a8c2768f3c8035f0d318c55da0a (diff)
downloadtdebase-486c5bfc26cbada0d8e05371c01211de663a209d.tar.gz
tdebase-486c5bfc26cbada0d8e05371c01211de663a209d.zip
Added the foundation for the new displayconfig module that will allow full XRandR 1.2 functionality from a Trinity control center GUI
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1245566 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/displayconfig/CMakeLists.txt')
-rw-r--r--kcontrol/displayconfig/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/kcontrol/displayconfig/CMakeLists.txt b/kcontrol/displayconfig/CMakeLists.txt
new file mode 100644
index 000000000..a96b60197
--- /dev/null
+++ b/kcontrol/displayconfig/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES displayconfig.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_displayconfig (module) ####################
+
+set_source_files_properties( displayconfig.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+
+tde_add_kpart( kcm_displayconfig AUTOMOC
+ SOURCES
+ monitorworkspace.cpp displayconfig.cpp displayconfigbase.ui displayconfig.skel
+ LINK kio-shared krandr-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)