kde-core-devel Digest, Vol 49, Issue 5

Oswald Buddenhagen ossi at kde.org
Mon Apr 2 20:04:12 BST 2007


On Mon, Apr 02, 2007 at 08:42:18PM +0200, Thomas Zander wrote:
> On Monday 02 April 2007 19:59, Nick Shaforostoff wrote:
> > And btw: is there any easy way to make cmake create sym/hard links instead
> > of copying files in the install stage?
> 
diff -U2 -r1.198 SystemTools.cxx
--- Source/kwsys/SystemTools.cxx        12 Mar 2007 17:50:28 -0000      1.198
+++ Source/kwsys/SystemTools.cxx        2 Apr 2007 19:01:35 -0000
@@ -1636,4 +1636,10 @@
   SystemTools::MakeDirectory(destination_dir.c_str());

+// XXXXXXXXXXXXXX
+  unlink(destination);
+  if (!link(source, destination))
+    return true;
+// XXXXXXXXXXXXXX
+
   // Open files


> Won't help.
> 
experience shows that this is not really true.
the space saving when installing objects with full debug info isn't
exactly trivial, either.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list