Stephen Kelly
f07d96ccf4
Remove workaround for GCC < 3 ios_base absence.
2015-01-01 12:45:54 +01:00
Stephen Kelly
5a8b9437c2
Remove GCC 2.95 support macros in favor of template versions.
...
GCC < 3 is no longer supported as a host compiler.
2015-01-01 12:44:11 +01:00
Stephen Kelly
5f4695cd06
cmStandardIncludes: Remove MSVC6 condition for cmArrayBegin macro.
2014-11-20 22:22:45 +01:00
Stephen Kelly
2db55ffa56
Remove borland workarounds.
...
CMake 3.0 is the last release to require to be able to build with
Borland.
2014-10-15 23:16:44 +02:00
Stephen Kelly
1927e4bacb
Remove const char string comparison helper.
...
It is now unused.
2014-09-17 15:10:25 +02:00
Stephen Kelly
6c19024570
Remove extra semicolons from C++ code.
...
Clang based tools running over the code complain about these,
but clang has a fixit for removing them.
2014-04-03 21:53:14 +02:00
Stephen Kelly
4bef02e7aa
cmTypeMacro: Add a class to eat the semicolon following the macro use.
...
Apply the same workaround to the cmCPackTypeMacro. Additionally
change that macro to not use 'class' as a macro parameter.
2014-04-03 21:53:13 +02:00
Ben Boeckel
270eb96df0
strings: Remove cmStdString references
...
Casts from std::string -> cmStdString were high on the list of things
taking up time. Avoid such implicit casts across function calls by just
using std::string everywhere.
The comment that the symbol name is too long is no longer relevant since
modern debuggers alias the templates anyways and the size is a
non-issue since the underlying methods are generated since it's
inherited.
2014-03-08 13:05:35 -05:00
Ben Boeckel
381d50c149
stringapi: Accept strings in cmStrCmp
2014-03-08 13:05:28 -05:00
Brad King
28805109bc
cmStandardIncludes: Include cmIML/INT.h for portable integer types
...
Also teach the bootstrap script to configure the needed headers.
2014-02-10 15:31:40 -05:00
Stephen Kelly
802a28fc5e
Add cmHasLiteralSuffix API.
2014-01-06 18:46:44 +01:00
Stephen Kelly
218ad35f96
Constify cmStrCmp.
2013-12-19 16:17:58 +01:00
Stephen Kelly
5ee9e6bc11
cmTarget: Add whitelist of properties on INTERFACE_LIBRARY.
2013-11-25 16:23:11 +01:00
Stephen Kelly
7d4b2b2ef3
cmStandardIncludes: Add new cmHasLiteralPrefix function.
...
This allows avoiding error-prone hard-coding of literal
string lengths.
Borland is not able to process the template version of this
method. Make it use the macro version instead. This means
that Borland will also use the macro versions of cmArray*.
2013-11-21 20:53:15 +01:00
Stephen Kelly
dfe0c2168b
cmArray: Use macro variant of cmArray{Begin,Size,End} for old GCC.
...
It is not capable of using the template versions.
2013-10-24 16:07:52 +02:00
Stephen Kelly
73d7705416
Add some templates for cleaner array iteration.
2013-10-22 10:45:23 +02:00
Brad King
0c39a757da
Drop the 'Full' field from cmDocumentationEntry
...
We need only 'Brief' for usage documentation. We no longer have builtin
'Full' documentation, which is now in Help/*/*.rst files.
2013-10-16 09:22:37 -04:00
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
Brad King
ac2e45d089
Provide std::ios_base typedef on GCC < 3
...
The ancient GNU standard library provided std::ios but not
std::ios_base. Define the latter in terms of the former.
2011-11-30 09:27:18 -05:00
Brad King
f20d091a2c
Tru64: Place cmOStringStream vtable uniquely ( #10541 )
...
GCC places the vtable in the object implementing the first non-pure,
non-inline virtual method. Since the symbol is not weak on Tru64, make
the location unique by putting the destructor in a single object file.
2010-06-10 15:22:40 -04:00
Bill Hoffman
521e26752b
Ignore some more sgi warnings.
2010-05-12 10:40:12 -04:00
Brad King
a03f801f7f
Suppress Intel float-equality test warnings
...
We suppress Intel warning 1572 because the cases where we do equality
tests are valid. Since this project does not do numerical computations
we need not worry about real instances against which this warning
protects.
2009-11-24 08:57:06 -05:00
Bill Hoffman
21a59bdc4d
Fix double bootstrap build for in source builds
2009-11-10 08:09:54 -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
Brad King
e02d66e89e
COMP: Block warnings in Borland system headers
...
In Release builds the Borland compiler warns about code in its own
system headers. This blocks the warnings by disabling them where the
headers are included.
2009-06-12 11:05:02 -04:00
Bill Hoffman
fc9e6c6e5c
STYLE: suppress warnings for borland
2009-06-09 15:58:52 -04:00
Bill Hoffman
b81f09e341
STYLE: suppress warnings for borland
2009-06-09 15:18:51 -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
Brad King
dab5ea859a
COMP: Fix Borland 5.5 build
...
- Its <iosfwd> header includes windows.h which
defines GetCurrentDirectory
- It defines 'interface' so we cannot use it as
a variable name.
2008-02-24 14:05:11 -05:00
Brad King
f872c10b7e
ENH: Added method cmLocalGenerator::GetBackwardsCompatibility to reduce parsing of CMAKE_BACKWARDS_COMPATIBILITY variable. Add cmLocalGenerator::NeedBackwardsCompatibility to simplify checks for compatibility requirements.
2007-12-28 23:07:14 -05:00
Ken Martin
6cdf032505
ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now
2007-10-22 12:49:09 -04:00
Ken Martin
35e13b11f3
BUG: revert doc changes since VS7 cannot compile them, will implement them in a different manner
2007-10-09 14:35:25 -04:00
Ken Martin
18ce24c748
ENH: make documentation entries actually store their data
2007-10-09 09:55:42 -04:00
Brad King
21d7a242fd
COMP: Fix warnings in system headers on VS6.
2006-08-29 10:27:50 -04:00
Brad King
a30e054641
COMP: Use new KWSys IOStream component to help print large file size integer types to streams.
2006-08-27 13:23:54 -04:00
Andy Cedilnik
2994f3a158
COMP: Add large files support to CMake
2006-08-23 10:00:11 -04:00
Brad King
ab61137eb1
COMP: Fix and/or disable warnings for Borland 5.6 build.
2006-08-01 11:38:42 -04:00
Andy Cedilnik
4f728e93e1
COMP: Remove warnings
2006-07-13 09:27:10 -04:00
Ken Martin
4b83a08b37
ENH: a warning fix and some more cleanup
2006-03-16 09:33:23 -05:00
Bill Hoffman
6b47b28867
ENH: fix line length style stuff
2006-03-10 11:13:15 -05:00
Brad King
f71a085f74
ENH: Added kwsys::String class to shorten debugging symbols and error messages involving std::string.
2006-02-07 10:11:40 -05:00
Bill Hoffman
e2e08e4b96
ENH: fix for borland memcpy junk
2006-01-24 15:48:05 -05:00
Andy Cedilnik
d9dc9b54a6
ENH: Add superclass for all commands and handlers. Improve handlers to have initialization code, and start initializing ctest when start is invoked
2005-06-17 13:04:56 -04:00
Andy Cedilnik
20bb808656
ENH: Add support for deque
2005-06-01 08:25:21 -04:00
Andy Cedilnik
72ee8e6542
ENH: Add support for iomanip
2005-05-30 17:26:38 -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
d8ea77e454
COMP: Added hack to avoid SGI termios.h warnings.
2005-05-03 14:28:26 -04:00
Brad King
7b2973d92f
COMP: Adding inclusion of stdarg.h to work-around SGI header bug in 7.4.2m.
2005-04-26 14:11:08 -04:00
Brad King
5d7593bf50
BUG: Avoid duplicate definition by using cmsys_STL_STRING_NEQ_CHAR_DEFINED and cmsys_STL_STRING_NO_NEQ_CHAR.
2005-04-06 16:15:13 -04:00
Brad King
084a1c9900
COMP: Adding stdlib.h to standard includes. We are using functions from it all over the place assuming it has been included here.
2005-03-11 10:03:56 -05:00