[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/cmake/modules
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2010-10-17 9:10:06
Message-ID: 20101017091006.E4A6CAC896 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1186709 by neundorf:
-add documentation for INSTALL_TARGETS_DEFAULT_ARGS
Alex
M +16 -12 FindKDE4Internal.cmake
--- trunk/KDE/kdelibs/cmake/modules/FindKDE4Internal.cmake #1186708:1186709
@@ -146,6 +146,21 @@
# DBUS_SERVICES_INSTALL_DIR - the directory where dbus services will be \
installed (default is prefix/share/dbus-1/services ) # \
DBUS_SYSTEM_SERVICES_INSTALL_DIR - the directory where dbus system services \
will be installed (default is prefix/share/dbus-1/system-services ) #
+# The variable INSTALL_TARGETS_DEFAULT_ARGS can be used when installing libraries
+# or executables into the default locations.
+# The INSTALL_TARGETS_DEFAULT_ARGS variable should be used when libraries are \
installed. +# It should also be used when installing applications, since then
+# on OS X application bundles will be installed to BUNDLE_INSTALL_DIR.
+# The variable MUST NOT be used for installing plugins.
+# It also MUST NOT be used for executables which are intended to go into sbin/ or \
libexec/. +#
+# Usage is like this:
+# install(TARGETS kdecore kdeui ${INSTALL_TARGETS_DEFAULT_ARGS} )
+#
+# This will install libraries correctly under UNIX, OSX and Windows (i.e. dll's go
+# into bin/.
+#
+#
# The following variable is provided, but seem to be unused:
# LIBS_HTML_INSTALL_DIR /share/doc/HTML CACHE STRING "Is this still \
used ?") #
@@ -879,17 +894,7 @@
endif (WIN32)
-# The INSTALL_TARGETS_DEFAULT_ARGS variable should be used when libraries are \
installed.
-# It should also be used when installing applications, since then
-# on OS X application bundles will be installed to BUNDLE_INSTALL_DIR.
-# The variable MUST NOT be used for installing plugins.
-# It also MUST NOT be used for executables which are intended to go into sbin/ or \
libexec/.
-#
-# Usage is like this:
-# install(TARGETS kdecore kdeui ${INSTALL_TARGETS_DEFAULT_ARGS} )
-#
-# This will install libraries correctly under UNIX, OSX and Windows (i.e. dll's go
-# into bin/.
+# For more documentation see above.
# Later on it will be possible to extend this for installing OSX frameworks
# The COMPONENT Devel argument has the effect that static libraries belong to the
# "Devel" install component. If we use this also for all install() commands
@@ -898,7 +903,6 @@
# -only the development files: cmake -DCOMPONENT=Devel -P cmake_install.cmake
# -everything except the development files: cmake -DCOMPONENT=Unspecified -P \
cmake_install.cmake # This can then also be used for packaging with cpack.
-
set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION "${BIN_INSTALL_DIR}"
LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
ARCHIVE DESTINATION "${LIB_INSTALL_DIR}" COMPONENT \
Devel )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic