From a509f4a028b822285e7c1f693d27131fd646ee3e Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sat, 22 Apr 2006 20:51:51 +0000 Subject: -add docs for the NOGUI and RUN_UNINSTALLED options for KDE4_ADD_EXECUTABLE() -use the new multiple-output syntax for KDE4_ADD_KCFG_FILES() -introduce a new target property WRAPPER_SCRIPT, which is set to the created wrapper script (or the executable if none is generated), which can then be easily queried and used e.g. in add_custom_command Alex Adriaan, does this fix your RPATH problem ? CCMAIL: svn path=/trunk/KDE/kdelibs/; revision=532800 --- modules/FindKDE4Internal.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/FindKDE4Internal.cmake') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index a2f957a3..5366970d 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -156,10 +156,15 @@ # A library named kdeinit_ will be created and a small executable which links to it. # It supports KDE3_ENABLE_FINAL # -# KDE4_ADD_EXECUTABLE (name file1 ... fileN) +# KDE4_ADD_EXECUTABLE (name [ NOGUI | RUN_UNINSTALLED] file1 ... fileN) # Equivalent to ADD_EXECUTABLE(), but additionally adds support for KDE4_ENABLE_FINAL. # If you don't need support for KDE4_ENABLE_FINAL, you can just use the # normal ADD_EXECUTABLE(). +# If the executable has to be run from the buildtree (e.g. unit tests and code generators +# used later on when compiling), set the option RUN_UNINSTALLED. +# If the executable doesn't have a GUI, use the option NOGUI. By default on OS X +# application bundles are created, with the NOGUI option no bundles but simple executables +# are created. Currently it doesn't have any effect on other platforms. # # KDE4_ADD_LIBRARY (name [STATIC | SHARED | MODULE ] file1 ... fileN) # Equivalent to ADD_LIBRARY(), but additionally it supports KDE4_ENABLE_FINAL -- cgit v1.2.1