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
David Cole
b0d5fa0bc7
Fix for issue #5041 - improve error messages that may occur during ctest_build and ctest_configure.
...
The improved text gives very clear information when either the CMakeLists.txt or CTestConfig.cmake file is missing. Hopefully, it makes it easier for those poor future souls who encounter these messages to solve their problems quickly.
2009-12-29 18:03:45 -05:00
David Cole
0b38bb4c53
Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
2009-12-04 12:09:01 -05:00
Zach Mullen
85912a3777
Added TARGET, CONFIGURATION, PROJECT_NAME, and FLAGS arguments to ctest_build command
2009-11-03 16:46:30 -05:00
Brad King
96afb12087
Convert CMake to OSI-approved BSD License
...
This converts the CMake license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the CMake copyright to
cover the full development time range.
2009-09-28 11:43:28 -04:00
Brad King
a0359d3c15
BUG: Fix CTEST_USE_LAUNCHERS in dashboard scripts
...
Since CTest does not currently load configuration settings computed at
CMake Configure time while running dashboard scripts, the ctest_build
command must honor the CTEST_USE_LAUNCHERS option directly.
2009-02-13 11:49:31 -05:00
Bill Hoffman
82c3afcf6f
ENH: allow ctest_build to return error and warning counts
2009-01-14 13:01:38 -05:00
Bill Hoffman
267fd538d8
ENH: fix build issue with config type not being specified by ctest
2007-09-17 10:40:57 -04:00
Bill Hoffman
21b5c7d2b4
ENH: add more verbose output
2007-06-14 13:05:09 -04:00
Brad King
8f6b49f7b1
STYLE: Fixed line-too-long.
2007-02-02 09:11:39 -05:00
Andy Cedilnik
7437ceab83
ENH: Allow to specify build target
2007-01-30 11:48:47 -05:00
Brad King
87d4d0e039
BUG: cmGlobalGenerator::Build should not always use the /fast target name because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles.
2006-06-01 15:51:24 -04:00
Andy Cedilnik
337362dfcf
COMP: Return 0 instead of false
2006-03-29 12:33:41 -05:00
Andy Cedilnik
386900bfdd
ENH: Several cleanups and make sure things get propagated where they should. Also, allow to load CTest custom files to the actual ctest -S script
2006-03-29 12:01:24 -05:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
862f5df25c
STYLE: Fix some style issues
2006-03-10 15:03:09 -05:00
Andy Cedilnik
6503a0eecc
STYLE: Fix some style issues
2006-03-09 11:17:10 -05:00
Andy Cedilnik
782bef7374
ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2
2005-12-01 11:41:00 -05:00
Andy Cedilnik
1b578d3180
ENH: Several improvements with the way things are handled. Also, support multiple submited files
2005-06-23 13:04:18 -04:00
Andy Cedilnik
2cc5ed49d1
ENH: Several improvements to CTest:
...
1. Support for showing line numbers when debugging ctest --show-line-numbers
2. Modify the ctest initialization code, so that it can be delayed
3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that)
4. Start command is simplified and the functionality is moved to CTest
5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set
6. Add test that checks out kwsys and perform tests on the fresh checkout
2005-06-16 13:18:21 -04:00
Andy Cedilnik
0842958977
ENH: Remove memory leak and remember global generator for next time
2005-05-08 13:48:09 -04:00
Andy Cedilnik
9619d54003
ENH: Improve syntax
2005-05-04 11:13:35 -04:00
Andy Cedilnik
de57a86298
ENH: Cleanups
2005-05-03 09:40:16 -04:00
Andy Cedilnik
eb3857ce83
ENH: Make ctest build command work
2005-05-02 15:51:58 -04:00
Andy Cedilnik
f1ebfb24c6
ENH: More commands. Start working on new style ctest configuration
2005-05-02 14:15:29 -04:00