summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-10 17:03:11 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-10 17:03:11 (GMT)
commit516add4d58c50c34efb1db9931adcf362c5f7f10 (patch)
tree67c90df79d3976008ae4dc5b8647afb2080f6f68 /Source/cmLocalUnixMakefileGenerator3.cxx
parentfc537f05ba1e5eb13adf27511cddfda216cf0b56 (diff)
downloadCMake-516add4d58c50c34efb1db9931adcf362c5f7f10.zip
CMake-516add4d58c50c34efb1db9931adcf362c5f7f10.tar.gz
CMake-516add4d58c50c34efb1db9931adcf362c5f7f10.tar.bz2
ENH: On VMS use _dir and _tmp, not .dir and .tmp
The VMS posix path emulation does not handle multiple '.' characters in file names in all cases. This avoids adding extra '.'s to file and directory names for target directories and generated files.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index f92ff86..df8a80f 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -2158,7 +2158,11 @@ cmLocalUnixMakefileGenerator3
{
std::string dir = cmake::GetCMakeFilesDirectoryPostSlash();
dir += target.GetName();
+#if defined(__VMS)
+ dir += "_dir";
+#else
dir += ".dir";
+#endif
return dir;
}