78 Commits

Author SHA1 Message Date
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
Kitware Robot
7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace.  Wipe out all remnants of trailing whitespace
everywhere except third-party code.

Run the following shell code:

git ls-files -z -- \
 bootstrap doxygen.config '*.readme' \
 '*.c' '*.cmake' '*.cpp' '*.cxx' \
 '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
 '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
2012-08-13 14:18:39 -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
Ken Martin
934949edd0 ENH: use ctest to drive dashboards for make targets as opposed to tclsh 2008-01-31 13:23:04 -05:00
Alexander Neundorf
88bb17bee9 STYLE: find Dart quietly (so it doesn't go in the feature log)
Alex
2007-08-07 15:42:37 -04:00
Brad King
93b94ce443 STYLE: Added basic usage documentation. 2007-05-15 10:23:40 -04:00
Sebastien Barre
5a836da544 ENH: this variable overrides all PROJECT_URL. Check the dashboard, all projects have the wrong URL in their "Home" button. Other variables (like ROLLUP_URL) were moved a while ago, for some reasons this one is still here. 2007-04-10 14:54:48 -04:00
Bill Hoffman
b7fa820118 ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
Andy Cedilnik
d604f5f625 STYLE: Fix typo 2005-08-03 13:19:22 -04:00
Brad King
90cefde755 ENH: Added VS8 support for DART_CXX_NAME. 2005-07-26 17:40:16 -04:00
Andy Cedilnik
3d84afe571 ENH: Several improvements and cleanups:
1. Add long command line arguments for every argument
2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10
3. Improve argument parsing.
4. Add submit index argument
2005-07-18 11:46:45 -04:00
Ken Martin
e1e7b11437 ENH: fixed some spelling errors 2005-06-20 16:31:34 -04:00
Brad King
bcfc71cc03 STYLE: Fixed spelling of "memmory". 2005-04-06 16:53:55 -04:00
Andy Cedilnik
0dd2b6eb80 BUG: By default disable new files. 2005-04-04 12:22:08 -04:00
Andy Cedilnik
6cd36d16e5 ENH: Rename the DartConfiguration.tcl to CTestConfiguration.ini 2005-04-01 15:45:26 -05:00
Andy Cedilnik
058b07b5c7 BUG: Change error to warning 2005-03-01 14:30:10 -05:00
Andy Cedilnik
26f3b14919 BUG: Clean the messages 2005-02-16 13:36:07 -05:00
Andy Cedilnik
1ca05e219a ENH: Reorganize and add subversion support 2005-02-16 13:30:17 -05:00
Andy Cedilnik
62aba58b82 ENH: Better checking for Dart. Closes Bug #1505 - Configuration fails to create Makefile 2005-01-28 13:20:53 -05:00
Andy Cedilnik
10f475ad30 ENH: Enable compression and use the new trigger script 2005-01-27 17:45:05 -05:00
Andy Cedilnik
a4c8aee1f4 ENH: If dart or ctest are not found, use ctest. For default drop location etc, support http submit (just set DROP_METHOD to http. Only look for tclsh if DART_ROOT is set 2004-10-12 18:29:04 -04:00
Andy Cedilnik
11d89d36d7 ENH: Add MemCheck to the list of Make targets. Closes Bug #1016 - Testing targets in Makefile 2004-07-29 17:07:16 -04:00
Andy Cedilnik
07231d014c DOC: Fix typo 2004-07-27 08:52:13 -04:00
Andy Cedilnik
1ed700d91f ENH: Allow project to overwrite CMAKE_SYSTEM_NAME part of default BUILDNAME 2004-07-27 08:48:08 -04:00
Ken Martin
02d253c59e fix for multiple nexted projects 2004-01-02 10:23:20 -05:00
Andy Cedilnik
31bb398dc3 ENH: Mark things as advanced 2003-12-17 09:42:52 -05:00
Andy Cedilnik
4cf81bab0e ENH: Add suppression file 2003-12-16 16:19:32 -05:00
Andy Cedilnik
5b232ded15 ENH: Add initial memory check support which works for Valgrind 2003-12-15 17:26:00 -05:00
Andy Cedilnik
403f220d25 ENH: Improve coverage on systems with multiple gcov commands 2003-12-08 11:23:46 -05:00
Brad King
37149fc5b3 BUG#199: If DART_EXPERIMENTAL_USE_PROJECT_NAME is set, the PROJECT_NAME will be included in the name of the Experimental and ExperimentalSubmit targets. 2003-11-12 10:00:54 -05:00
Andy Cedilnik
0b0a732f26 ENH: Take Purify out because it is not implemented yet 2003-08-11 12:17:34 -04:00
Andy Cedilnik
a17587c244 ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things 2003-07-11 14:14:03 -04:00
Bill Hoffman
12d99416c1 ENH: add all targets for dashboard build types 2003-06-03 14:45:16 -04:00
Ken Martin
b3b69f9564 fixed andy sloppy code again 2003-05-02 14:05:37 -04:00
Andy Cedilnik
bec9b174f5 ENH: Fix some dart issues. Now it works fine without dart. 2003-05-02 13:57:25 -04:00
Andy Cedilnik
2c676d0587 On borland and cygwin remove .EXE 2003-03-06 15:32:40 -05:00
Andy Cedilnik
66dfe6f83a Add Update and configure steps where missing 2003-03-03 13:58:14 -05:00
Andy Cedilnik
ac4361b8d9 Start cleaning global namespace 2003-03-03 09:32:45 -05:00
Andy Cedilnik
d2faa22732 On windows but not on borland, look at cmake_build_tool instead of compiler to determine build name. Otherwise they will all be cl 2003-02-27 14:48:33 -05:00
Andy Cedilnik
e68b4b9bc7 Use more condense buildname. If this works fine we can make cmBuildName command deprecated 2003-02-27 11:54:03 -05:00
Andy Cedilnik
99fd8062c4 Use simple defaults if DartConfig does not exist. This way you can use dart to build any project 2003-02-20 17:38:16 -05:00
Bill Hoffman
96189f79d5 ENH: unify EnableLanguage across all generators 2002-12-05 13:44:11 -05:00
Ian Scott
7d907a9a61 Add option to control number of errors sent to dashbaord 2002-10-11 11:22:16 -04:00
Ian Scott
e89040f463 Dart now has a configure option 2002-09-03 09:14:24 -04:00
Ken Martin
589cf38a36 fixed another bug 2002-06-18 16:43:29 -04:00
Ken Martin
5b82069645 fixed bug 2002-06-18 16:35:29 -04:00
Bill Hoffman
12d0b7c93d ENH: change so that on all make based systems all dart targets are added 2002-06-14 16:38:19 -04:00