Commit Graph

13 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
Todd Gamblin 2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' 2010-08-09 08:48:31 -04:00
Brad King 3a666595c9 Convert CMake non-find modules to BSD License
This adds copyright/license notification blocks CMake's non-find
modules.  Most of the modules had no notices at all.  Some had notices
referring to the BSD license already.  This commit normalizes existing
notices and adds missing notices.
2009-09-28 11:46:51 -04:00
Alexander Neundorf 5586c6f41b ENH: now also the "ecosclean" target works with MS nmake
Alex
2007-02-07 14:50:45 -05:00
Alexander Neundorf 863f2b76cb BUG: reent.c wasn't intended to be committed, too special
Alex
2007-01-23 13:41:35 -05:00
Alexander Neundorf 152040fd83 STYLE: use even more absolute paths, can't hurt for out-of-source builds
STYLE: use SET_SOURCE_FILES_PROPERTIES() on multiple files at once instead
of interating over each one of them
STYLE: no need to add target.ld to the clean-files, this is done now automatically by add_custom_command()
ENH: now also MS nmake can be used to build ecos apps

Alex
2007-01-23 13:29:44 -05:00
Alexander Neundorf c37f2c20d9 ENH: the ecos headers are always in the binary dir
Alex
2007-01-17 14:06:18 -05:00
Alexander Neundorf 4cb8e3c43f ENH: building ecos apps now seems to work also out-of-source
Alex
2007-01-17 13:57:34 -05:00
Alexander Neundorf c6f74dfe3b BUG: also check that tclsh is available, otherwise you can't build any eCos
stuff
ENH: make the name of the config file ecos.ecc adjustable via the new
variable ECOS_CONFIG_FILE

Alex
2007-01-17 13:45:28 -05:00
Alexander Neundorf 2776e2de4e ENH: add i386 toolchain and some minor improvement of the comments 2006-08-23 18:11:51 -04:00
Alexander Neundorf f05fe5f414 STYLE: don't use the hack to copy and rename the created executable under
cygwin but instead use the SUFFIX target property (I'll publish a short
article about ecos+cmake RSN)

Alex
2006-08-22 18:33:49 -04:00
Alexander Neundorf d184c10c69 BUG: finally really fix #2576 by adding UseEcos.cmake to cvs :-)
Alex
2006-04-23 08:08:46 -04:00