Commit Graph

76 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