aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
diff options
context:
space:
mode:
authorAndreas Pakulat <apaku@gmx.de>2007-06-24 22:47:46 +0000
committerAndreas Pakulat <apaku@gmx.de>2007-06-24 22:47:46 +0000
commit06b456e025ac2b511a7587d4758f49ad489b5189 (patch)
treea97af6423e4e8bc81a03906e47d2e1a5490e77c3 /modules/FindKDE4Internal.cmake
parenta6b2d40be6e4cb4984a0a23ab8543f88b4570cf2 (diff)
downloadextra-cmake-modules-06b456e025ac2b511a7587d4758f49ad489b5189.tar.gz
extra-cmake-modules-06b456e025ac2b511a7587d4758f49ad489b5189.tar.bz2
Fix the kde4_add_test_executable macro by setting EXECUTABLE_OUTPUT_PATH and
add a convience define to not have to install xmlgui and other files. Adapt knotify and kdeui tests to this change (remove the extra add_definitions there) svn path=/trunk/KDE/kdelibs/; revision=679803
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r--modules/FindKDE4Internal.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 0c845c6d..ac7c6e43 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -193,6 +193,10 @@
# The targets are always created, but only built for the "all"
# target if the option KDE4_BUILD_TESTS is enabled. Otherwise the rules for the target
# are created but not built by default. You can build them by manually building the target.
+# KDESRCDIR is set to the source directory of the test, this can be used with
+# KGlobal::dirs()->addResourceDir( "data", KDESRCDIR ); to be able to use xmlgui
+# and other things in the test, that normally require installation
+#
# KDE4_INSTALL_ICONS( path theme)
# Installs all png and svgz files in the current directory to the icon
# directoy given in path, in the subdirectory for the given icon theme.