diff options
author | Brad King <brad.king@kitware.com> | 2009-06-10 17:03:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-10 17:03:11 (GMT) |
commit | 516add4d58c50c34efb1db9931adcf362c5f7f10 (patch) | |
tree | 67c90df79d3976008ae4dc5b8647afb2080f6f68 /Source/cmTarget.cxx | |
parent | fc537f05ba1e5eb13adf27511cddfda216cf0b56 (diff) | |
download | CMake-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/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 851dfe8..cea61f6 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -930,7 +930,11 @@ std::string cmTarget::GetSupportDirectory() const dir += cmake::GetCMakeFilesDirectory(); dir += "/"; dir += this->Name; +#if defined(__VMS) + dir += "_dir"; +#else dir += ".dir"; +#endif return dir; } |