Daniel Pfeifer
5d0d980d99
Use string(APPEND) in Modules
...
Automate with:
find Modules -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
2016-07-28 00:41:13 +02:00
Richard M. Shaw
e6fa6e60f6
UsewxWidgets: CFLAGS are expected to be a string here, not a list.
2014-08-22 10:27:48 -05:00
Kitware Robot
f051814ed0
Convert builtin help to reStructuredText source files
...
Run the convert-help.bash script to convert documentation:
./convert-help.bash "/path/to/CMake-build/bin"
Then remove it.
2013-10-15 14:12:03 -04:00
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
Modestas Vainius
7c5e412c4a
Documentation: Fix a few typos ( #11883 )
...
W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 10029: warning [p 158, 13.5i]: can't break line
I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz informations information
I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz dependant dependent
I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz prefered preferred
I: cmake: spelling-error-in-binary ./usr/bin/cmake prefered preferred
I: cmake: spelling-error-in-binary ./usr/bin/cpack prefered preferred
I: cmake: spelling-error-in-binary ./usr/bin/ctest prefered preferred
I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakepolicies.1.gz prefered preferred
I: cmake-curses-gui: spelling-error-in-binary ./usr/bin/ccmake prefered preferred
I: cmake-qt-gui: spelling-error-in-binary ./usr/bin/cmake-gui prefered preferred
2011-02-22 17:24:51 -05:00
Miguel A. Figueroa-Villanueva
3dbeeb7793
BUG #8184 : Fixed FindwxWidgets wrong order of default libs for MinGW.
...
Also fixed usage sample in comments, which can be misleading for MinGW
users as demonstrated by mantis issue #10089 .
2010-09-01 12:27:31 -04:00
Miguel A. Figueroa-Villanueva
6cb14ebf16
STYLE: Clarified/Fixed documentation of UsewxWidgets.
2010-09-01 09:34:57 -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
Miguel A. Figueroa-Villanueva
cf55e01ada
BUG: Using PROPERTY COMPILE_DEFINITIONS_DEBUG to support Debug only preprocessor options (e.g., _DEBUG __WXDEBUG__).
2009-02-24 16:49:15 -05:00
Brad King
8364ce8ff9
STYLE: Remove trailing whitespace.
2008-03-03 20:31:51 -05:00
Brad King
2fd1b374c1
ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script.
2006-10-19 10:07:41 -04:00
Brad King
3c9744f406
ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script.
2006-07-21 15:43:19 -04:00
Bill Hoffman
b7fa820118
ENH: add documentation support for modules
2005-12-14 13:51:08 -05:00
Andy Cedilnik
ad4f98f3cf
ENH: Cleanup. Use relative path to modules
2004-08-26 22:52:53 -04:00
Bill Hoffman
ef5387a8ff
BUG: fix for bug 618
2004-04-22 17:23:48 -04:00