summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-90/+56
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Format include directive blocks and ordering with clang-formatBrad King2016-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-20/+20
| | | | | | | | | | | | | | | | | 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/ \+$//'
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-2/+8
|
* ENH: do not use c++ comments in c codeBill Hoffman2006-07-261-1/+1
|
* BUG: remove command causing issues with mid build reruns of cmake on vs70Ken Martin2006-07-251-3/+0
|
* ENH: trying a slight changeKen Martin2006-07-251-3/+3
|
* BUG: remove c++commentsKen Martin2006-07-251-2/+2
|
* BUG: temp fixKen Martin2006-07-241-1/+1
|
* ENH: add more coverageKen Martin2006-07-241-0/+18
|
* BUG: work around XCode issueKen Martin2006-07-211-1/+1
|
* ENH: increase coverage in a couple placesKen Martin2006-07-211-3/+31
|
* ENH: add support for watcom wmake and wcl386Bill Hoffman2006-01-171-6/+4
|
* ENH: increase coverage in loaded commandsKen Martin2005-09-201-3/+19
|
* ENH: Remove warningAndy Cedilnik2004-05-031-0/+4
|
* ENH: fix warnings in testBill Hoffman2004-05-031-7/+8
|
* ENH: remove warnings in testsBill Hoffman2004-05-021-1/+1
|
* ENH: More coverageAndy Cedilnik2003-07-221-0/+81
|
* new plugin APIKen Martin2002-10-081-1/+1
|
* Some minor fixes for macAndy Cedilnik2002-09-231-3/+3
|
* cleanupKen Martin2002-09-231-5/+1
|
* removed c++ style commentsKen Martin2002-09-201-4/+4
|
* test passing CMAKE_FLAGSKen Martin2002-09-181-0/+2
|
* added DestructorKen Martin2002-09-171-0/+10
|
* load command testKen Martin2002-09-161-0/+62