Commit Graph

19 Commits

Author SHA1 Message Date
Bill Hoffman fadffab538 ccmake: Teach dialog to support cache STRINGS property
This commit adds the ability to ccmake of cycling through cache options.
This uses the STRINGS property of the cache entry. The enter key will cycle
forward, and the right and left arrows will go up and down in the list.
2013-10-07 14:17:54 -04:00
Brad King df62f64db7 Clean up install rules of CMake itself (#14371)
Ensure CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR are always
relative paths in CMake code, and set defaults accordingly.  Use the
install() command instead of install_files() and install_targets().
This is more modern and also avoids stripping of the first character
from user-specified destinations.

While at it, fix the default destinations reported in the bootstrap
help.
2013-08-26 11:54:07 -04:00
Kitware Robot 77543bde41 Convert CMake-language commands to lower case
Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code:

cmake --help-command-list |
grep -v "cmake version" |
while read c; do
    echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04: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 f5a5b1ffd6 ENH: Simplify code by removing unnecessary LINK_DIRECTORIES call. 2008-01-23 16:53:33 -05: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
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
Amitha Perera 64beaa8b9c BUG: Changed from SOURCE_FILES to SET 2002-04-22 15:05:22 -04:00
Bill Hoffman 84f6fdd69f ENH: use target link libraries and add the link directory for cmform 2002-02-04 22:00:33 -05:00
Bill Hoffman 9bf31316e1 try to get this working for dec cxx default compiler options 2002-01-31 10:32:49 -05:00
Berk Geveci 521d8d9410 Improvements to the curses interface. 2001-11-29 16:44:22 -05:00
Ken Martin 274099f7ec fixes to curses stuff 2001-11-13 14:22:29 -05:00
Berk Geveci 1efcd4d035 Renaming ccurses to ccmake. 2001-11-09 16:16:56 -05:00
Berk Geveci 23f0b7760f Trying to fix curses. 2001-11-09 16:05:33 -05:00
Berk Geveci 777ec99219 Changes to remove warnings and fix dependencies. 2001-11-08 17:03:52 -05:00
Berk Geveci b22e2de8e5 HPUX support. 2001-11-05 13:24:44 -05:00
Berk Geveci c09d072be3 Fixing problems on Sun (name collusions between STL and curses) and disabling curses temporarily. 2001-11-05 11:52:27 -05:00
Berk Geveci 939d614978 Adding curses support. 2001-11-04 18:05:21 -05:00