Commit Graph

12 Commits

Author SHA1 Message Date
Kitware Robot 9db3116226 Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block.  This is no longer the preferred style.

Run the following shell code:

for c in else endif endforeach endfunction endmacro endwhile; do
    echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -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
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 e4894bfc91 ENH: add curses include directory 2005-07-11 18:07:02 -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
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
Amitha Perera 64beaa8b9c BUG: Changed from SOURCE_FILES to SET 2002-04-22 15:05:22 -04:00
Berk Geveci 777ec99219 Changes to remove warnings and fix dependencies. 2001-11-08 17:03:52 -05:00
Berk Geveci cd7297781d Adding form library. 2001-11-05 11:53:05 -05:00