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 |
Alexander Neundorf
|
f9cb0f3cb4
|
BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1
Alex
|
2007-08-10 08:54:42 -04:00 |
Bill Hoffman
|
692ba48c4e
|
ENH: major changes to support addition of languages from cmake modules directory.
|
2004-09-22 14:42:05 -04:00 |
Bill Hoffman
|
66a08c10e5
|
ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code
|
2004-08-26 14:55:55 -04:00 |
Bill Hoffman
|
c3530dd01f
|
BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu
|
2003-11-14 10:44:12 -05:00 |
Bill Hoffman
|
f5d95fb078
|
Complete rework of makefile generators expect trouble
|
2002-11-08 15:46:08 -05:00 |