Commit Graph

126 Commits

Author SHA1 Message Date
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
Brad King 653bf6c25c ENH: Adding cmCustomCommandLine and cmCustomCommandLines subclasses of std::vector instantiations to represent multiple commands for a single custom command. These will be used in an upcoming checkin. 2005-02-22 08:22:38 -05:00
Andy Cedilnik ae50b4bc6a BUG: Add a safety check so that you cannot send cmOStringStream.str() to other stream and produce the funky hex number. This makes it impossible to compile such a code. Adding that exposed a whole bunch of places in CMake where streams were used wrongly 2004-04-29 14:51:08 -04:00
Andy Cedilnik fb228e73c8 ERR: Properly handle mode_t on borland 2004-01-27 09:05:01 -05:00
Andy Cedilnik 1089ec27a1 ERR Fix borland 2004-01-26 17:52:48 -05:00
Andy Cedilnik 900ad59867 ERR: Fix build problems on Visual Studio 6 2004-01-26 15:03:09 -05:00
Ken Martin 565ed7d8a1 added stdio 2003-08-08 11:19:17 -04:00
Brad King ed273acfa7 ENH: Improved name of cmake version variables. They are now CMake_VERSION (major.minor) and CMake_VERSION_FULL (major.minor.patch). 2003-07-07 23:20:30 -04:00
Andy Cedilnik b133b832fd Remove bogus flags from cmStandardIncludes and make complex test pass 2003-03-26 10:45:23 -05:00
Brad King 1f55680332 ENH: Added cmDocumentation class to generate various forms of documentation. Each executable will be able to generate its own documentation. 2003-02-14 10:53:37 -05:00
Brad King 1fe42129d4 ENH: Centralized setting of CMake version number to top-level CMake listfile. 2003-02-13 21:57:05 -05:00
Bill Hoffman f5d95fb078 Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -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
Brad King 98ae74ce74 ERR: istrstream and istringstream need to be pulled into namespace std on the SGI. 2002-10-11 08:36:20 -04:00
Brad King 281f7519e1 ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream. 2002-10-10 10:43:59 -04:00
Andy Cedilnik 65cc289047 Remove compile error and remove some warnings 2002-10-10 09:41:58 -04:00
Andy Cedilnik 089429fee9 Try to use platform independent input string stream 2002-10-10 08:11:05 -04:00
Brad King 5ce73bdd14 ENH: Added explicit declarations of some C functions that are hard to get from standard headers in como (www.comeaucomputing.com) strict mode. 2002-10-02 17:31:59 -04:00
Brad King 14f0211858 ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux. 2002-09-10 15:40:11 -04:00
Ken Martin 499bd45d4d removed shared lib support 2002-08-23 16:13:34 -04:00
Ken Martin 34c7c1b78d made CMakeLib shared on windows 2002-08-21 11:57:12 -04:00
Brad King dae99c659d BUG: Result from ostrstream::str() can be a null pointer. 2002-06-25 09:18:43 -04:00
Brad King eb5b8e3d24 BUG: Attempt to fix ostrstream::str() wrapper for broken platforms. 2002-06-24 18:19:26 -04:00
Brad King e328ee73c8 ERR: using declaration to move streams into std namespace needs to bring up ostrstream and ostringstream, not strstream and stringstream. 2002-06-21 10:31:37 -04:00
Brad King 159338bcf8 ERR: cmStringStream is taking the functionality of ostringstream and ostrstream, not stringstream and strstream. 2002-06-20 10:20:44 -04:00
Brad King 07d35e662d ENH: Added cmStringStream class to wrap std::stringstream or std::strstream depending on the platform. The interface is that of std::stringstream, so no "ends" or "rdbuf()->freeze(0)" lines are needed. 2002-06-19 15:21:49 -04:00
Bill Hoffman 7d6eb54cf0 ENH: fix for dec compiler, they still do not have the correct ansi stream library 2002-01-30 11:23:07 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Bill Hoffman 572e5146f8 define hacks and such for the dec compiler 2001-11-20 08:28:54 -05:00
Brad King eb6e54c64b ENH: Replaced cmStdString implementation to make it more transparently a std:string. 2001-10-31 18:56:19 -05:00
Bill Hoffman e197d3f219 remove memory leaks 2001-09-14 16:26:56 -04:00
Bill Hoffman 047c7b5af4 ENH: add more testing 2001-08-23 16:00:46 -04:00
Bill Hoffman ddd5a7d729 ENH: change all maps of string to be maps of cmStdString, to reduce symbol length in object files. 2001-08-22 11:58:17 -04:00
Bill Hoffman db1303aa7d ENH: big change, only allow commands access to the cache via the cmMakefile class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping 2001-08-08 11:54:46 -04:00
Bill Hoffman 61ec323b6a ENH: compile with broken 720 SGI C++ compiler 2001-08-07 15:49:57 -04:00
Brad King 8c3d29d0d3 ENH: Warning 4503 disable for MSVC. 2001-07-06 09:22:41 -04:00
Bill Hoffman d1b419b7be fix for scope on hp 2001-06-28 11:42:24 -04:00
Brad King fda8bcc978 ENH: Added string.h include. 2001-06-22 12:18:10 -04:00
Bill Hoffman a7d114cfd6 BUG: fix bootstrap build on unix 2001-06-21 13:48:08 -04:00
Bill Hoffman adbae91cb5 ENH: fix cmake so it can boot strap itself better 2001-06-20 13:56:38 -04:00
Bill Hoffman 1094200ea0 BUG: fix to compile on hp with aCC 2001-05-17 11:44:26 -04:00
Will Schroeder 54cfe84f3f ENH:New copyright 2001-04-27 08:01:17 -04:00
Bill Hoffman 90e5612298 ENH: new GUI editor for cmake cache file 2001-04-23 16:40:29 -04:00
Bill Hoffman 7155d1f68b BUG: fix small compile issues on HP aCC 2001-04-16 15:40:40 -04:00
Brad King 408cad388a ERR: Added pragma to disable symbol length warning for Intel compiler. 2001-03-21 15:52:29 -05:00
Brad King d3735b65d6 ERR: Added for-loop scoping hack for CMake sources on MSVC 2001-03-14 17:49:47 -05:00
Brad King eb80df5561 ERR: fsream.h -> fstream.h 2001-02-26 17:58:26 -05:00
Bill Hoffman 0b0d1b1d43 ENH: add CMakeCache.txt support 2001-02-22 19:24:43 -05:00
Bill Hoffman db267f533b ENH: get rid of special msc configure file 2001-02-12 19:49:52 -05:00
Will Schroeder 88bbc0c30d ENH:Documentation and cleanups 2001-01-11 14:47:38 -05:00
Bill Hoffman c54a05bfc7 ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files. 2001-01-05 11:41:20 -05:00