summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-12 17:50:28 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-12 17:50:28 (GMT)
commite01cdf2065d93cdbb873999b45414133978860b2 (patch)
treef50fd8e9ba30e1bd19faf827952058a311ae2dbe /Source/cmSystemTools.cxx
parent558dbc84adab239ab3043d0efd0891f9a995161e (diff)
downloadCMake-e01cdf2065d93cdbb873999b45414133978860b2.zip
CMake-e01cdf2065d93cdbb873999b45414133978860b2.tar.gz
CMake-e01cdf2065d93cdbb873999b45414133978860b2.tar.bz2
ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 530d7fd..3553259 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1376,20 +1376,6 @@ bool cmSystemTools::StringEndsWith(const char* str1, const char* str2)
return !strncmp(str1 + (strlen(str1)-strlen(str2)), str2, strlen(str2));
}
-#if defined(_WIN32) && !defined(__CYGWIN__)
-bool cmSystemTools::CreateSymlink(const char*, const char*)
-{
- // Should we create a copy here?
- return false;
-}
-#else
-bool cmSystemTools::CreateSymlink(const char* origName, const char* newName)
-{
- return (symlink(origName, newName) >= 0);
-}
-#endif
-
-
// compute the relative path from here to there
std::string cmSystemTools::RelativePath(const char* local, const char* remote)
{