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
d89e238e6c
Cygwin: Fix tests to check CYGWIN instead of WIN32
...
Use "UNIX AND NOT CYGWIN" to detect a "soname" platform.
Use "WIN32 OR CYGWIN" to detect a "DLL" platform.
2010-12-17 09:46:24 -05:00
Ken Martin
ce8810c4e7
ENH: preclean some warnings
2008-03-25 11:27:18 -04:00
Ken Martin
2e4258efc1
ENH: shift to using ADD_SUBDIRECTORY
2005-06-08 12:26:32 -04:00
Bill Hoffman
51cb75d454
ENH: fix for apple
2004-04-02 09:43:35 -05:00
Brad King
3b5139a3d8
BUG: Due to backward ordering, Visual Studio GUIs need the link directories for the libraries the first time.
2004-01-24 12:52:14 -05:00
Bill Hoffman
1a31bb2056
BUG: libdir was set wrong on windows
2004-01-23 13:43:58 -05:00
Brad King
a4aab3b677
ENH: Improved test to have a different relative path name for libraries between the Executable and Library directories.
2004-01-22 10:51:34 -05:00
Brad King
f9a3f74d87
ERR: Fixed post-build rule to copy shared library correctly.
2004-01-22 10:23:20 -05:00
Brad King
3a33f2c338
ENH: Adding test for jumping over and building a missing library.
2004-01-22 09:56:24 -05:00