Brad King
0ac18d40c8
Remove `//------...` horizontal separator comments
...
Modern editors provide plenty of ways to visually separate functions.
Drop the explicit comments that previously served this purpose.
Use the following command to automate the change:
$ git ls-files -z -- \
"*.c" "*.cc" "*.cpp" "*.cxx" "*.h" "*.hh" "*.hpp" "*.hxx" |
egrep -z -v "^Source/cmCommandArgumentLexer\." |
egrep -z -v "^Source/cmCommandArgumentParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmDependsJavaLexer\." |
egrep -z -v "^Source/cmDependsJavaParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmExprLexer\." |
egrep -z -v "^Source/cmExprParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmFortranLexer\." |
egrep -z -v "^Source/cmFortranParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmListFileLexer\." |
egrep -z -v "^Source/cm_sha2" |
egrep -z -v "^Source/(kwsys|CursesDialog/form)/" |
egrep -z -v "^Utilities/(KW|cm).*/" |
xargs -0 sed -i '/^\(\/\/---*\|\/\*---*\*\/\)$/ {d;}'
This avoids modifying third-party sources and generated sources.
2016-05-09 09:41:43 -04:00
Nils Gladitz
d2cc580704
cmake: Teach "-E tar" command a "--format=" option
...
Allows specifying a libarchive defined archive format currently restricted to
7zip, gnutar, pax, paxr and zip.
The default is "paxr" (pax restricted).
2015-04-10 08:32:31 -04:00
Eric NOULARD
36a550ae7a
CPackArchiveGenerator use cmArchiveWrite wrapper
2010-08-24 21:41:32 +02:00
Bill Hoffman
fb51d98562
Switch to using libarchive from libtar for cpack and cmake -E tar
...
This allows for a built in bzip and zip capability, so external tools
will not be needed for these packagers. The cmake -E tar xf should be
able to handle all compression types now as well.
2009-10-30 13:10:56 -04:00
David Cole
43d07f6620
Fix more mismatched new[] / delete[] (eliminate invalid auto_ptr use) to correct valgrind reported memory issues.
2009-10-30 10:31:54 -04:00
David Cole
e0bbaa889a
Correct one of the valgrind errors from the CPackTestAllGenerators test. Do not use auto_ptr on a new [] allocation because auto_ptr does not use delete [].
2009-10-26 13:49:20 -04:00
David Cole
44bcba7461
Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files.
2009-10-01 16:47:08 -04: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
Bill Hoffman
887699184a
COMP: remove warnings
2007-09-27 14:44:11 -04:00
Bill Hoffman
c693a23a7d
ENH: use gnu tar for cygwin
2007-07-30 22:51:21 -04:00
Bill Hoffman
7aef92391b
ENH: make sure null const char* is not put into ossttringstream to avoid seg faults
2006-10-30 11:22:48 -05:00
Brad King
f91b3c1daa
ENH: Add options to build with system utility libraries. Organize inclusion of third party libraries into a single header per library. This addresses bug#3653.
2006-10-19 15:00:10 -04:00
Andy Cedilnik
38c1ab5cb2
COMP: Fix cast to char*
2006-05-02 18:47:49 -04:00
Andy Cedilnik
7e788fed35
ENH: Simplify TarCompress to only require compress. Use cmake's tar
2006-05-02 17:34:27 -04:00
Andy Cedilnik
c09c3c6bfa
ENH: Support for packaging source, several cleanups and more yeehaa...
2006-04-15 13:02:18 -04:00
Andy Cedilnik
634343c3e8
STYLE: Fix some style issues
2006-03-10 13:06:26 -05:00
Andy Cedilnik
e8affe5cc2
STYLE: Lots of formating to remove style problems
2006-03-08 16:33:39 -05:00
Andy Cedilnik
48808133b0
ENH: Fix compression on Windows
2006-01-11 19:12:21 -05:00
Andy Cedilnik
6d113b9a85
BUG: Fix memory problem
2006-01-09 13:14:41 -05:00
Bill Hoffman
1184bd9321
ENH: remove assert
2006-01-04 16:24:24 -05:00
Andy Cedilnik
5358809a5c
ENH: More CPack stuff and fix zlib compression
2006-01-04 15:14:09 -05:00
Andy Cedilnik
ebbe10193f
ENH: Start working on CPack input file and cleanups
2006-01-02 17:28:20 -05:00
Andy Cedilnik
bbf1c2d275
ENH: More improvements and add logging
2006-01-02 16:14:21 -05:00
Andy Cedilnik
bf044cec81
COMP: Fix build problems
2006-01-02 10:37:00 -05:00
Andy Cedilnik
c9f3ad1e23
ENH: Use libtar
2006-01-02 07:53:05 -05:00
Andy Cedilnik
d0329919da
ENH: Merge from the cpack branch
2006-01-01 23:21:05 -05:00