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 |
Peter Kuemmel
|
7553a3799a
|
Ninja: fix ModuleNoticies test
|
2012-06-09 12:38:12 +02:00 |
Peter Kuemmel
|
8b27a94f28
|
Ninja: don't set cmcldeps vars to empty string when they are not defined
|
2012-06-09 12:10:52 +02:00 |
Peter Kuemmel
|
64c5752d93
|
Ninja: add copyright and description
|
2012-06-09 10:43:23 +02:00 |
Peter Kuemmel
|
0412e5c933
|
Ninja: assume cmcldeps in the same dir as cmake
|
2012-06-09 09:06:01 +02:00 |
Peter Kuemmel
|
941afa571c
|
Ninja: allow spaces in source path
And make /showIncude prefix visible for all build rules
|
2012-06-08 22:59:18 +02:00 |