Commit Graph

18 Commits

Author SHA1 Message Date
Alexander Neundorf 9d4f3a0686 STYLE: remove duplicate non-const accessors GetLocalGenerator(int) and
GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is
one const accessor which is even faster since it returns a reference
(instead of copying a vector)
-more const to ensure that this the returned local generators don't actually
get modified
-removed duplicated code in GetCTestCommand() and GetCPackCommand()
-added some const accessors

Alex
2007-06-15 10:10:24 -04:00
Alexander Neundorf 8d0550e4e2 STYLE: remove wrong comments
Alex
2007-06-07 08:29:15 -04:00
Brad King ba7780a3c4 ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore. 2007-05-23 15:40:12 -04:00
Ken Martin bb88ef5e41 STYLE: fix line length 2006-05-10 15:08:38 -04:00
Brad King f01bd91336 COMP: Using KWSys auto_ptr to avoid cross-platform problems. 2006-03-16 16:04:30 -05:00
Brad King 520b792f6f COMP: Fix for auto_ptr usage on VC6's broken implementation. 2006-03-16 15:50:21 -05:00
Brad King 180a45c8c7 BUG: Do not leak the ofstream object in append mode. Just use an auto_ptr for both cases. 2006-03-16 14:14:15 -05:00
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
Ken Martin 369308ca76 ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk 2005-06-22 09:06:46 -04:00
Ken Martin 3ff6722934 ENH: cleanup by removing all the olf local generate junk that i not longer needed 2005-03-10 13:39:38 -05:00
Brad King a5ae290a5b STYLE: Adjusted signature of cmGeneratedFileStream to make copy-if-different more explicity. 2004-11-03 07:51:51 -05:00
Brad King d46d8df0ed ENH: Re-implemented cmGeneratedFileStream to look like a real stream and replace the destination file atomically. This will avoid problems with the process being terminated while generating a file. 2004-11-03 07:23:18 -05:00
Bill Hoffman b5bdf2cb0a ENH: add better error reporting for file open failures 2004-09-07 16:55:25 -04:00
Brad King cb37fe01f6 ERR: Added missing include for auto_ptr. 2004-03-16 12:54:39 -05:00
Brad King 7b6491d36b BUG#675: If not appending, do copy-if-different on exported file. 2004-03-15 10:44:53 -05:00
Ken Martin 847bda5270 fix for bug # 101 2003-08-01 09:11:04 -04:00
Brad King ab2fdaa8fa BUG: Removed generation of stray paren. 2003-02-03 09:53:33 -05:00
Bill Hoffman c4fa5d1fdf ENH: add a new command that allows exports of library dependencies from a project to a file 2003-01-20 16:59:02 -05:00