Clinton Stimpson
5730710c86
Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.
...
Also use SystemTools::Fopen() instead of fopen().
This is to eventually support utf-8 filenames.
2014-01-07 09:27:44 -05:00
Brad King
96afb12087
Convert CMake to OSI-approved BSD License
...
This converts the CMake license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the CMake copyright to
cover the full development time range.
2009-09-28 11:43:28 -04:00
David Cole
867de7fc67
ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded.
2007-11-16 07:01:58 -05:00
Brad King
f0d1e1626d
COMP: Fix warning about not being able to automatically generate a copy constructor.
2007-08-01 10:53:28 -04:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
9ab3b14c77
COMP: Remove warning
2006-01-12 14:21:37 -05:00
Andy Cedilnik
867c3a763e
ENH: Add support for binary
2006-01-11 19:06:54 -05:00
Andy Cedilnik
b7ba65ed68
ENH: Add a way to overwrite compression extension
2006-01-02 07:52:54 -05:00
Andy Cedilnik
efcb43a88f
ENH: Allow changing of file name
2005-05-10 11:11:28 -04:00
Brad King
bac564356b
COMP: Added pragma directives for SGI compilers to avoid useless warnings.
2005-05-03 14:58:13 -04:00
Brad King
389f24f777
ENH: Added Close method and updated Open method to allow streams to be reused.
2005-04-05 08:25:21 -04:00
Andy Cedilnik
14477cee6e
ENH: Add compression support
2005-01-27 10:14:24 -05:00
Brad King
aaac6f2c3a
ENH: Added default constructor and Open method.
2005-01-26 14:25:16 -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
e34207c1f0
COMP: Fix new cmGeneratedFileStream for MSVC.
2004-11-03 07:27:44 -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
70eaddbf8e
BUG: make sure global generate is done when cmakelist file chagnes, also make sure guids are stored in the cache so the .sln file does not change every time
2004-05-20 16:29:09 -04:00
Brad King
1f6a3c67b1
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
2002-10-23 18:03:27 -04:00
Will Schroeder
a6a43d5320
ENH:Updated copyright
2002-01-21 15:30:43 -05:00
Bill Hoffman
b6d823a7c1
ENH: try to better handle control-c during make Makefiles
2001-06-04 11:34:22 -04:00
Bill Hoffman
d76db0ed57
BUG: remove warning
2001-05-23 10:47:50 -04:00
Bill Hoffman
1094200ea0
BUG: fix to compile on hp with aCC
2001-05-17 11:44:26 -04:00
Brad King
d055ebb8c5
ERR: const error fixed.
2001-05-16 17:18:01 -04:00
Brad King
99a9fd6b3f
ERR: Added is_open() check in cmGeneratedFileStream::operator bool() so that implicit conversion to bool is not used.
2001-05-16 17:11:38 -04:00
Brad King
8011fe0fad
ENH: cmGeneratedFileStream class added to simplify copy-if-different usage on generated files.
2001-05-16 16:40:45 -04:00