Kitware Robot
7bbaa4283d
Remove trailing whitespace from most CMake and C/C++ code
...
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace. Wipe out all remnants of trailing whitespace
everywhere except third-party code.
Run the following shell code:
git ls-files -z -- \
bootstrap doxygen.config '*.readme' \
'*.c' '*.cmake' '*.cpp' '*.cxx' \
'*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
'*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
2012-08-13 14:18:39 -04:00
Thomas Jarosch
d1751fbf17
ccmake: Fix off-by-one memory access error
...
Credit goes to "cppcheck".
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
2011-09-02 11:15:40 -04:00
Brad King
ff1f8d0b53
Fix or cast more integer conversions in cmake
...
These were revealed by GCC's -Wconversion option. Fix types where it is
easy to do so. Cast in cases we know the integer will not be truncated.
2010-06-29 09:52:12 -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
Brad King
98c51ff6dc
ENH: Overhaul CMake version numbering
...
This moves the version numbers into an isolated configured header so
that not all of CMake needs to rebuild when the version changes.
Previously we had spaces, dashes and/or the word 'patch' randomly chosen
before the patch number. Now we always report version numbers in the
traditional format "<major>.<minor>.<patch>[-rc<rc>]".
We still use odd minor numbers for development versions. Now we also
use the CCYYMMDD date as the patch number of development versions, thus
allowing tests for exact CMake versions.
2009-03-05 15:17:07 -05:00
Bill Hoffman
e2a7c9358f
ENH: fix warning
2006-11-29 17:25:46 -05:00
Bill Hoffman
33170bc371
ENH: there can be only one version
2006-11-29 17:17:16 -05:00
Ken Martin
fb5d92ea37
ENH: m_ cleanup for curses
2006-03-16 10:44:55 -05:00
Brad King
c7a75e92c9
COMP: Changed while(1) to for(;;) to avoid warning about constant control expression.
2005-05-03 14:57:32 -04:00
Bill Hoffman
02722857bd
BUG: don't let the messages get too big
2003-02-04 14:31:57 -05: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
Ken Martin
2c7e9b3b59
new architecture
2002-09-06 13:00:12 -04:00
Brad King
55f3a3817e
ERR: Fixed compiler warnings about unused parameters.
2002-06-18 17:20:07 -04:00
Will Schroeder
a6a43d5320
ENH:Updated copyright
2002-01-21 15:30:43 -05:00
Ken Martin
b4e27e9795
prints the relese version
2002-01-02 16:45:30 -05:00
Berk Geveci
69cb66f7ff
Updated toolbar.
2001-12-13 13:28:41 -05:00
Berk Geveci
d42ded5b16
Added debugging.
2001-12-04 11:16:04 -05:00
Berk Geveci
e9d4096713
Improved help.
2001-11-30 13:59:36 -05:00
Berk Geveci
b64e2b83b0
Can non use clear because it is undef'ed.
2001-11-30 11:34:13 -05:00
Berk Geveci
195e2c6449
Missed std::
2001-11-30 10:40:41 -05:00
Berk Geveci
8a59c205bd
opps I forgot to add these
2001-11-29 23:45:01 -05:00