aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2006-12-04 10:45:34 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2006-12-04 10:45:34 +0000
commit307aeed35325a96f2fe29bdb0bdce18172818e9c (patch)
treebbdfdb2edeef3bcc66bb15bb4ad3e292f610c033 /modules
parent22e8e0927cb0a7110f737ba5ead75ce04a29dcf8 (diff)
downloadextra-cmake-modules-307aeed35325a96f2fe29bdb0bdce18172818e9c.tar.gz
extra-cmake-modules-307aeed35325a96f2fe29bdb0bdce18172818e9c.tar.bz2
win32 fix: place all executables in <build-root>/bin dir by default to avoid multiple pathes in PATH environment
svn path=/trunk/KDE/kdelibs/; revision=610434
Diffstat (limited to 'modules')
-rw-r--r--modules/KDE4Defaults.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/KDE4Defaults.cmake b/modules/KDE4Defaults.cmake
index f03770bc..fba1f766 100644
--- a/modules/KDE4Defaults.cmake
+++ b/modules/KDE4Defaults.cmake
@@ -26,3 +26,13 @@ set(CMAKE_COLOR_MAKEFILE ON)
set(GENERIC_LIB_VERSION "4.0.0")
set(GENERIC_LIB_SOVERSION "4")
+# windows does not support LD_LIBRARY_PATH or similar
+# all searchable directories has to be defined by the PATH environment var
+# to reduce the number of required pathes executables are placed into
+# the build bin dir
+# note: dll's should go also in bin dir and import libraries should go into lib,
+# but this seems not possible with recent cmake release
+if (WIN32)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
+# set (LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
+endif(WIN32) \ No newline at end of file