summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-08 16:44:28 (GMT)
committerBrad King <brad.king@kitware.com>2009-12-08 16:44:28 (GMT)
commitd4ada9d0d540ab2dc2a9747315c5afda5887950f (patch)
tree2070d061a0fa5bef543c1b3c3e120e75413295d6 /Source
parentd4e26b7e881f97f1cef31b789a7252708cf1c06b (diff)
downloadCMake-d4ada9d0d540ab2dc2a9747315c5afda5887950f.zip
CMake-d4ada9d0d540ab2dc2a9747315c5afda5887950f.tar.gz
CMake-d4ada9d0d540ab2dc2a9747315c5afda5887950f.tar.bz2
Clean up CMake build tree 'bin' directory
We re-arrange EXECUTABLE_OUTPUT_PATH settings to avoid putting utility and test executables in the 'bin' directory of the build tree. This makes the directory look like that in the installation tree, except that on multi-configuration generators we still use a per-config subdirectory.
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 7568de0..2bfb777 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -18,6 +18,8 @@ ELSE(HAVE_ELF_H)
SET(CMAKE_USE_ELF_PARSER)
ENDIF(HAVE_ELF_H)
+SET(EXECUTABLE_OUTPUT_PATH ${CMake_BIN_DIR})
+
# configure the .h file
CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Source/cmConfigure.cmake.h.in"