summaryrefslogtreecommitdiffstats
path: root/Tests/MakeClean
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-29 04:07:26 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-29 04:07:26 (GMT)
commit3efc6e40cb6ae2f3c73a6a1b9d483ca12f9861d6 (patch)
tree3a8d814f2d121e14e1f8dfd0fb80cc358414a694 /Tests/MakeClean
parentf872c10b7ee3fe675e7a2066c20c7a749efd8238 (diff)
downloadCMake-3efc6e40cb6ae2f3c73a6a1b9d483ca12f9861d6.zip
CMake-3efc6e40cb6ae2f3c73a6a1b9d483ca12f9861d6.tar.gz
CMake-3efc6e40cb6ae2f3c73a6a1b9d483ca12f9861d6.tar.bz2
BUG: Do not remove the source file extension when computing an object file name. This addresses bug #6169. If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or lower maintain the old behavior so that existing build trees and old project releases are not affected.
Diffstat (limited to 'Tests/MakeClean')
-rw-r--r--Tests/MakeClean/ToClean/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/MakeClean/ToClean/CMakeLists.txt b/Tests/MakeClean/ToClean/CMakeLists.txt
index 05ea15c..bc51876 100644
--- a/Tests/MakeClean/ToClean/CMakeLists.txt
+++ b/Tests/MakeClean/ToClean/CMakeLists.txt
@@ -6,7 +6,7 @@ ADD_EXECUTABLE(toclean toclean.cxx)
# List some build-time-generated files.
GET_TARGET_PROPERTY(TOCLEAN_FILES toclean LOCATION)
SET(TOCLEAN_FILES ${TOCLEAN_FILES}
- "${ToClean_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/toclean.dir/toclean${CMAKE_CXX_OUTPUT_EXTENSION}")
+ "${ToClean_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/toclean.dir/toclean.cxx${CMAKE_CXX_OUTPUT_EXTENSION}")
# Create a file that must be registered for cleaning.
FILE(WRITE "${ToClean_BINARY_DIR}/Registered.txt"