summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-19 11:43:34 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-19 12:14:48 (GMT)
commit2428422c02de1feac008d2ba1a6ad075aaf7ba2c (patch)
tree4597e1d5a338aba37f4615558db6863bd8e13872 /Tests/CMakeLists.txt
parentd686f81e58200c68c1e89094210e9587e0e90983 (diff)
downloadCMake-2428422c02de1feac008d2ba1a6ad075aaf7ba2c.zip
CMake-2428422c02de1feac008d2ba1a6ad075aaf7ba2c.tar.gz
CMake-2428422c02de1feac008d2ba1a6ad075aaf7ba2c.tar.bz2
Fix regression in target output file naming logic
Refactoring in commit f4ff60a803 (cmMakefile: Make GetSafeDefinition return std::string const&, 2018-09-05) accidentally changed the logic for target artifact prefix and suffix names such that setting a PREFIX or SUFFIX target property would cause an empty value to be used. Revert that part of the change and use a simpler alternative. Add a test case. Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index a22521b..28aab1c 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -368,6 +368,7 @@ if(BUILD_TESTING)
ADD_TEST_MACRO(CxxSubdirC CxxSubdirC)
ADD_TEST_MACRO(IPO COnly/COnly)
ADD_TEST_MACRO(OutDir runtime/OutDir)
+ ADD_TEST_MACRO(OutName exe.OutName.exe)
ADD_TEST_MACRO(ObjectLibrary UseCshared)
ADD_TEST_MACRO(NewlineArgs NewlineArgs)
ADD_TEST_MACRO(SetLang SetLang)