From 307aeed35325a96f2fe29bdb0bdce18172818e9c Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 4 Dec 2006 10:45:34 +0000 Subject: win32 fix: place all executables in /bin dir by default to avoid multiple pathes in PATH environment svn path=/trunk/KDE/kdelibs/; revision=610434 --- modules/KDE4Defaults.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules') 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 -- cgit v1.2.1