summaryrefslogtreecommitdiff
path: root/Source/cmStandardIncludes.h
Commit message (Collapse)AuthorAgeFilesLines
* Split cmAlgorithms into a separate header file.Stephen Kelly2015-02-101-134/+0
|
* cmStandardIncludes: Remove list include.Stephen Kelly2015-02-061-1/+0
| | | | Include it only where used.
* cmStandardIncludes: Remove deque include.Stephen Kelly2015-02-061-1/+0
| | | | Include it only where used.
* cmStandardIncludes: Remove some VS6 workarounds.Stephen Kelly2015-02-061-10/+0
| | | | | Added in commit v2.6.0~2824 (COMP: Fix warnings in system headers on VS6., 2006-08-29), but no longer needed.
* cmDeleteAll: Generalize deletion specialization for map types.Stephen Kelly2015-01-171-4/+17
| | | | | Assume that a container whose value_type is a std::pair should have its second member deleted.
* Add a generic algorithm for deleting items in a container.Stephen Kelly2015-01-131-0/+27
| | | | | | | | Specialize for std::map types to delete the second element from the iterator. This is not quite general enough that it can be used everywhere, because CMake inherits from std::map and creates typedefs with custom comparison functors etc, which can not use this algorithm.
* Merge topic 'join-algorithm'Brad King2015-01-121-0/+27
|\ | | | | | | | | | | | | 55a73e6b Use the cmJoin algorithm where possible. 8dc8d756 cmStandardIncludes: Add a join algorithm for string containers. b5813cee cmInstallCommand: Remove unused variable.
| * cmStandardIncludes: Add a join algorithm for string containers.Stephen Kelly2015-01-081-0/+27
| | | | | | | | | | | | | | | | This requires the input range to supply BidirectionalIterators, which is not a problem for where it is currently useful to us. The alternative would be to not invoke --last;, and instead create an output iterator similar to std::ostream_iterator, but which puts the delimiter before the item to output.
* | cmStandardIncludes: Remove obsolete cmOStringStream.Stephen Kelly2015-01-111-61/+4
| |
* | Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-1/+1
| | | | | | | | All compilers hosting CMake support the std class.
* | Remove unused cmIStringStream class.Stephen Kelly2015-01-081-31/+0
| |
* | cmStandardIncludes: Remove std namespace hack.Stephen Kelly2015-01-081-5/+0
| |
* | cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.Stephen Kelly2015-01-081-7/+0
| | | | | | | | All compilers hosting CMake support proper for scoping.
* | cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler.Stephen Kelly2015-01-081-49/+0
| | | | | | | | It is no longer tested on the dashboard.
* | cmStandardIncludes: Drop Comeau-related workaround.Stephen Kelly2015-01-081-13/+0
| | | | | | | | | | The compiler is not tested on the dashboard, and on Windows there are more-natural compilers to use to build CMake.
* | Remove Borland-related undef.Stephen Kelly2015-01-081-1/+0
| |
* | cmStandardIncludes: Remove comment about Borland.Stephen Kelly2015-01-081-11/+0
| | | | | | | | | | The code the comment refers to was removed in commit 2db55ffa (Remove borland workarounds., 2014-08-06)
* | Drop SGI as a CMake host compiler.Stephen Kelly2015-01-081-42/+1
|/ | | | | It has not been tested since commit v3.1.0-rc1~584^2 (Utilities/Release: Drop IRIX binary generation on ferrari, 2014-04-30).
* Remove workaround for GCC < 3 ios_base absence.Stephen Kelly2015-01-011-5/+0
|
* Remove GCC 2.95 support macros in favor of template versions.Stephen Kelly2015-01-011-16/+0
| | | | GCC < 3 is no longer supported as a host compiler.
* cmStandardIncludes: Remove MSVC6 condition for cmArrayBegin macro.Stephen Kelly2014-11-201-2/+1
|
* Remove borland workarounds.Stephen Kelly2014-10-151-20/+1
| | | | | CMake 3.0 is the last release to require to be able to build with Borland.
* Remove const char string comparison helper.Stephen Kelly2014-09-171-6/+0
| | | | It is now unused.
* Remove extra semicolons from C++ code.Stephen Kelly2014-04-031-3/+3
| | | | | Clang based tools running over the code complain about these, but clang has a fixit for removing them.
* cmTypeMacro: Add a class to eat the semicolon following the macro use.Stephen Kelly2014-04-031-1/+2
| | | | | Apply the same workaround to the cmCPackTypeMacro. Additionally change that macro to not use 'class' as a macro parameter.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-2/+2
| | | | | | | | | | | 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.
* stringapi: Accept strings in cmStrCmpBen Boeckel2014-03-081-3/+8
|
* cmStandardIncludes: Include cmIML/INT.h for portable integer typesBrad King2014-02-101-0/+3
| | | | Also teach the bootstrap script to configure the needed headers.
* Add cmHasLiteralSuffix API.Stephen Kelly2014-01-061-0/+25
|
* Constify cmStrCmp.Stephen Kelly2013-12-191-3/+3
|
* cmTarget: Add whitelist of properties on INTERFACE_LIBRARY.Stephen Kelly2013-11-251-0/+6
|
* cmStandardIncludes: Add new cmHasLiteralPrefix function.Stephen Kelly2013-11-211-1/+25
| | | | | | | | | 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*.
* cmArray: Use macro variant of cmArray{Begin,Size,End} for old GCC.Stephen Kelly2013-10-241-1/+2
| | | | It is not capable of using the template versions.
* Add some templates for cleaner array iteration.Stephen Kelly2013-10-221-0/+28
|
* Drop the 'Full' field from cmDocumentationEntryBrad King2013-10-161-6/+4
| | | | | We need only 'Brief' for usage documentation. We no longer have builtin 'Full' documentation, which is now in Help/*/*.rst files.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-8/+8
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Provide std::ios_base typedef on GCC < 3Brad King2011-11-301-0/+5
| | | | | The ancient GNU standard library provided std::ios but not std::ios_base. Define the latter in terms of the former.
* Tru64: Place cmOStringStream vtable uniquely (#10541)Brad King2010-06-101-1/+2
| | | | | | 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.
* Ignore some more sgi warnings.Bill Hoffman2010-05-121-0/+1
|
* Suppress Intel float-equality test warningsBrad King2009-11-241-0/+1
| | | | | | | 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.
* Fix double bootstrap build for in source buildsBill Hoffman2009-11-101-1/+1
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | 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.
* COMP: Block warnings in Borland system headersBrad King2009-06-121-0/+8
| | | | | | 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.
* STYLE: suppress warnings for borlandBill Hoffman2009-06-091-0/+1
|
* STYLE: suppress warnings for borlandBill Hoffman2009-06-091-1/+3
|
* ENH: Overhaul CMake version numberingBrad King2009-03-051-15/+0
| | | | | | | | | | | | | 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.
* COMP: Fix Borland 5.5 buildBrad King2008-02-241-0/+1
| | | | | | | - Its <iosfwd> header includes windows.h which defines GetCurrentDirectory - It defines 'interface' so we cannot use it as a variable name.
* ENH: Added method cmLocalGenerator::GetBackwardsCompatibility to reduce ↵Brad King2007-12-281-0/+3
| | | | parsing of CMAKE_BACKWARDS_COMPATIBILITY variable. Add cmLocalGenerator::NeedBackwardsCompatibility to simplify checks for compatibility requirements.
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-3/+10
| | | | there, also provides secitons for Variables now
* BUG: revert doc changes since VS7 cannot compile them, will implement them ↵Ken Martin2007-10-091-3/+3
| | | | in a different manner