Commit Graph

212 Commits

Author SHA1 Message Date
Brad King b41a548d86 Add parentheses around '&&' between '||' for gcc
The GNU compiler warns about possible operator precedence mistakes and
asks for explicit parentheses (-Wparentheses).  We add the parentheses
to silence the warning.  This also fixes one real logic error in the
find_package() implementation by correcting expression evaluation order.
2009-09-11 08:18:15 -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 f0a41ce160 BUG: fix for 4026, display a message if ccmake has errors 2008-10-09 12:49:49 -04:00
Bill Hoffman b3b4350879 BUG: fix for 6462, delete key should delete the current char 2008-08-19 16:40:19 -04:00
Bill Hoffman 354abb72d9 ENH: fix it for working with an empty cache 2008-03-07 16:32:09 -05:00
Bill Hoffman 3fa087c8ab ENH: fix make edit_cache for cmake-gui 2008-02-12 09:49:42 -05:00
Brad King f5a5b1ffd6 ENH: Simplify code by removing unnecessary LINK_DIRECTORIES call. 2008-01-23 16:53:33 -05:00
Brad King 9f61e2a235 ENH: Centralized and globalized computation of CMake program locations. This eliminates startup paths that failed to produce this information. 2007-12-13 17:56:50 -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
Alexander Neundorf c41f798383 COMP: make it build on NetBSD, which has separate curses and ncurses, so
it has to be detected that curses isn't good enough, but ncurses is, and
that ncurses.h instead of curses.h is included

Alex
2007-08-27 09:01:14 -04:00
Alexander Neundorf c95dc91237 ENH:
-in the full documentation there is now an extra section for
compatibility commands, so users see which commands they shouldn't use
-cmake -h <command> now also works with lower case commands
--help-fullm --help-command, --help-module and --help-property now determine
the output format from the extension of the given filename

Let me know if there are some things I overlooked.

Alex
2007-06-28 11:00:57 -04: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 f7217ef344 ENH: remove old unused code 2006-10-06 15:33:16 -04:00
Brad King 9e709f6bde BUG: The --help option should list generators. This addresses bug #2494. 2006-10-04 19:21:20 -04:00
Bill Hoffman 65e3842d51 ENH: only change the cache if the value was really changed 2006-08-10 11:05:44 -04:00
Bill Hoffman 88e3cd53ab ENH: fix ia64 build with aCC 2006-06-27 09:57:02 -04:00
Bill Hoffman e975836292 ENH: not all messages are errors 2006-03-16 11:28:13 -05:00
Ken Martin fb5d92ea37 ENH: m_ cleanup for curses 2006-03-16 10:44:55 -05:00
Bill Hoffman e4894bfc91 ENH: add curses include directory 2005-07-11 18:07:02 -04:00
Andy Cedilnik b17c77a1b5 ENH: Until there is some test for curses dialog, no need to do coverage 2005-06-20 17:37:40 -04: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
Brad King d6d91ac89f ENH: Removing stdio_core hack. A better work-around has been put in cmStandardIncludes.h. 2005-04-26 14:12:31 -04:00
Brad King e26bafa52a BUG: Older SGI compilers still have internal/stdio_core.h but do not support #include_next. We'll have to try-compile to test whether this hack is needed. 2005-04-24 13:15:50 -04:00
Brad King 2f4e516e23 COMP: Using a new work-around for stdarg.h problem on SGI. 2005-04-21 17:00:36 -04:00
Andy Cedilnik 1e04844de9 COMP: Attempt to fix problem with building on SGI 2005-04-19 18:26:40 -04:00
Andy Cedilnik 21c818340e STYLE: Remove unused code 2004-10-27 10:45:45 -04:00
Andy Cedilnik 3bc8cbd475 ENH: Reload PreLoad.cmake every time you do configure 2004-08-17 16:13:31 -04:00
Andy Cedilnik c4805a1b79 ENH: Enable preload for ccmake 2004-08-17 15:36:28 -04:00
Bill Hoffman 2474302c25 ENH: remove deletes 2004-07-20 11:02:12 -04:00
Bill Hoffman 9fe2ab2f71 BUG: fix for 981 cursor returns to correct place in help screen 2004-07-19 13:01:40 -04:00
Brad King 4eb0400c98 ENH: Adding MODIFIED property to cache values that have been changed by the user. 2004-06-23 10:13:02 -04:00
Andy Cedilnik 685be51a0e ENH: Add support for HOME and END keys. Also fix Bug #666 - In CCMake when deleting something, it does not stop at the beginning of line 2004-04-15 16:11:11 -04:00
Andy Cedilnik 0986b42761 BUG: Prevent deleting not existing variables and therefore prevent crash. Fixes: Bug #750 - CCMake crashes when deleting all variables 2004-04-15 15:46:58 -04:00
Andy Cedilnik 183273bea2 BUG: Prevent crash when deleting the last cache item 2004-02-22 22:06:33 -05:00
Andy Cedilnik 5b232ded15 ENH: Add initial memory check support which works for Valgrind 2003-12-15 17:26:00 -05:00
Brad King 8017a17f57 ENH: Added documentation of specifying an existing build tree as an argument. 2003-08-20 13:00:46 -04:00
Brad King 88e1571c76 BUG#129: Fixed load/save of CMakeCache.txt when it is not in the current directory. 2003-08-06 18:39:16 -04:00
Brad King d4854628ab ENH: Added SEE ALSO support for generated unix manpage. 2003-08-06 15:12:43 -04:00
Brad King b78888fe38 ENH: Added configuration of name of executable in man page header and version banner. 2003-08-06 14:49:52 -04:00
Brad King be68519dd4 ENH: Added introduction paragraph to documentation. 2003-07-21 17:13:53 -04:00
Brad King 1cecf7b5aa ENH: Added support to write multiple help options with one command line. Output files can now also be specified for the help options. 2003-07-07 22:44:18 -04:00
Brad King dc3fd5c267 ENH: Merged use of kwsys library. 2003-06-23 08:58:58 -04:00
Andy Cedilnik 65dcf074a1 BUG: When only loading ccmake cache, do not allow generate 2003-06-06 09:57:28 -04:00
Andy Cedilnik dfd22fdf23 ENH: On envocation of ccmake check if directories are correct, but do not rerun configure 2003-05-29 11:14:48 -04:00
Andy Cedilnik cb9e995d0b ENH: Do not do configure first time. This way ccmake loads fast. 2003-05-28 15:52:54 -04:00
Brad King a5ea72df88 ENH: Improved documentation. Also modified behavior of "cmake" to not configure a project in the current directory unless . is given. 2003-04-02 22:48:12 -05:00
Andy Cedilnik 889a119474 If there was no error, do not say that there was one 2003-03-17 11:21:05 -05:00
Bill Hoffman 0f19623edd BUG: fixes for hp 2003-03-11 15:25:50 -05:00
Andy Cedilnik 729bc4cb6d Remove warnings 2003-03-09 18:16:46 -05:00
Andy Cedilnik 063d6b5ecb Remove warning 2003-03-07 11:53:20 -05:00
Andy Cedilnik 7a18dd8edd Add searching of variables 2003-03-07 11:27:28 -05:00
Brad King 5e18bec8f7 ENH: Re-implemented document generation class to be more organized and more robust. 2003-02-18 20:42:02 -05:00
Andy Cedilnik 852ad56a6c Attempt to fix SGI ccmake problem (thank you Clint Miller) 2003-02-17 09:59:03 -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
Bill Hoffman 02722857bd BUG: don't let the messages get too big 2003-02-04 14:31:57 -05:00
Brad King 153bd2446f ENH: Cleaned up sgi unreferenced warning hack. 2003-02-02 22:32:00 -05:00
Bill Hoffman f432cc54cf BUG: add missing ; 2003-02-01 16:27:48 -05:00
Ken Martin 1408742c23 fixed warnings 2003-01-31 08:47:53 -05:00
Brad King 6c4375309c ERR: Fixing attempt to remove warnings. 2003-01-30 11:50:50 -05:00
Brad King d7ab8e2bcf ERR: Another attempt to get rid of unreferenced inline function warnings on SGI. 2003-01-29 14:20:05 -05:00
Brad King 100a96297e ERR: Fixed unreferenced termios declaration warning. 2003-01-24 10:33:46 -05:00
Ken Martin 865074b244 spelling fix 2003-01-22 11:27:53 -05:00
Brad King 486454ef78 BUG: Fixed crash when CMAKE_ROOT cannot be found. 2003-01-22 10:33:34 -05:00
Andy Cedilnik 934d7d3dd6 Rename local variable 2002-11-22 09:45:50 -05:00
Brad King a7da3d4eff ERR: Fixed string literal to char* warnings. 2002-11-21 10:03:36 -05:00
Andy Cedilnik ae3b1f3e70 Add / after directory name when doing tab completion 2002-11-19 13:19:40 -05:00
Andy Cedilnik 1d39833446 Add progress to ccmake 2002-11-19 13:09:16 -05:00
Andy Cedilnik 65a814c989 Initial add of progress 2002-11-18 16:29:14 -05:00
Andy Cedilnik 202d2ea69a Revert 2002-11-07 09:15:36 -05:00
Andy Cedilnik 3d4a2fdc52 In certain cases, try to guess the source directory, so that you can run cmake or ccmake without specifying source dir 2002-11-06 12:04:24 -05:00
Andy Cedilnik 0b7d51d79f Remove warning 2002-11-06 11:37:00 -05:00
Andy Cedilnik 5a0641ac3b Cleanup 2002-11-05 13:35:02 -05:00
Andy Cedilnik f0db119873 Reparent file path widget, add tab completion support to path anf file path widget 2002-11-05 08:52:31 -05:00
Andy Cedilnik 12215e56f3 Start working on adding tab support 2002-11-04 17:37:21 -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 f6a70573b0 ERR: Another attempt to remove warnings from missing prototypes. 2002-10-23 16:43:34 -04:00
Andy Cedilnik c3007233ec Rename variables to remove warnings 2002-10-17 10:51:23 -04:00
Brad King a465ee3c6b ENH: Another attempt to fix OSF warnings. Also removed TABS. 2002-10-16 10:53:12 -04:00
Brad King 9d32676b70 ERR: Fixed bad sentence in error message. 2002-09-30 21:34:05 -04:00
Ken Martin f7ec3c2a76 compiler warning 2002-09-22 07:53:55 -04:00
Andy Cedilnik 6769e84472 Improve message handler to include client data. 2002-09-18 14:18:43 -04:00
Ken Martin 4267a1b4c1 some cmake api changees 2002-09-17 14:20:07 -04:00
Ken Martin 6844dfd7ca some cmake api changees 2002-09-17 14:04:33 -04:00
Ken Martin b67f7451fd removed extra Generate that was screwing things up 2002-09-14 10:59:06 -04:00
Andy Cedilnik 9ec133d428 Fix bug in ccmake which made it crash when all cache values were deleted 2002-09-11 15:13:32 -04:00
Andy Cedilnik 2ca71beb2a Fix problem with ccmake crashing on empty caches 2002-09-11 15:04:50 -04:00
Andy Cedilnik bef93dc5c1 Couple of changes: cache variables now have a map of properties. ADVANCED and HELPSTRING are now properties of cache variable, IsAdvanced is gone, so is GetCacheEntry, since cache entries are now all private. To access them, you use the iterator. -ADVANCED cache entries are gone and are replaced by the property of cache variables. The cache file still looks the same, but the -ADVANCED cache entries are created when writing file. MarkAsAdvanced and VariableRequires are fixed. So are curses gui and wizard 2002-09-11 14:05:45 -04:00
Ken Martin 2c7e9b3b59 new architecture 2002-09-06 13:00:12 -04:00
Ken Martin e8d0e8088f some changes in cachemanager and singletons 2002-08-28 16:35:54 -04:00
Bill Hoffman 3f36d23421 BUG: add explicit clean up of the cachemanager at exit of programs, so dll destruction is not a problem. 2002-08-23 13:46:32 -04:00
Ken Martin 184e7053d3 added lib 2002-08-22 08:25:58 -04:00
Ken Martin 2353f5e787 minor fixes for new cache api 2002-08-21 15:37:49 -04:00
Brad King 953e01a604 ERR: Removed most of the repeated curses declarations. The cause errors on other platforms. Grrrr.. 2002-06-21 10:26:50 -04:00
Brad King 5bed7ca691 ERR: Added function declarations from curses.h. They are not present on some platforms. Fixes warnings about implicit declarations. 2002-06-21 09:25:32 -04:00
Brad King b15808caff ERR: Fixed unused parameter warning. 2002-06-19 08:57:14 -04:00
Brad King 55f3a3817e ERR: Fixed compiler warnings about unused parameters. 2002-06-18 17:20:07 -04:00
Brad King 05e162f00a ERR: Fixed compiler warnings when using strict ansi. 2002-06-18 17:19:38 -04:00
Brad King 50be646b79 ERR: Attempt to fix warning on OSF about implicit declaration of winnstr. 2002-06-18 16:30:00 -04:00
Bill Hoffman 20308ac96a ERR: Fixed sun CC warnings. 2002-06-11 09:14:19 -04:00