[Cmake-commits] [cmake-commits] hoffman committed SystemTools.cxx 1.222 1.223 SystemTools.hxx.in 1.72 1.73
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Mar 27 17:05:13 EDT 2008
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv16567/Source/kwsys
Modified Files:
SystemTools.cxx SystemTools.hxx.in
Log Message:
BUG: fix install problem on make and allow symlinks to cmake bin directory
Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.222
retrieving revision 1.223
diff -C 2 -d -r1.222 -r1.223
*** SystemTools.cxx 21 Jan 2008 13:01:04 -0000 1.222
--- SystemTools.cxx 27 Mar 2008 21:05:11 -0000 1.223
***************
*** 2435,2438 ****
--- 2435,2445 ----
}
+ kwsys_stl::string SystemTools::GetRealPath(const char* path)
+ {
+ kwsys_stl::string ret;
+ Realpath(path, ret);
+ return ret;
+ }
+
bool SystemTools::FileIsDirectory(const char* name)
{
Index: SystemTools.hxx.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.hxx.in,v
retrieving revision 1.72
retrieving revision 1.73
diff -C 2 -d -r1.72 -r1.73
*** SystemTools.hxx.in 31 Jan 2008 13:21:35 -0000 1.72
--- SystemTools.hxx.in 27 Mar 2008 21:05:11 -0000 1.73
***************
*** 351,354 ****
--- 351,359 ----
const char* in_base);
+ /**
+ * Get the real path for a given path, removing all symlinks.
+ */
+ static kwsys_stl::string GetRealPath(const char* path);
+
/**
* Split a path name into its root component and the rest of the
More information about the Cmake-commits
mailing list