summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/GeneratedHeader
Commit message (Collapse)AuthorAgeFilesLines
* style: Remove trailing blank lines from all CMake sourcesMatthew Woehlke2024-11-211-1/+0
| | | | | | | Our development workflow tooling prevents trailing blank lines from being added, but some such lines remain from before that was enforced. Remove them to make it easier to rename files without triggering enforcement.
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-6/+6
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Tests/CustomCommand: Do not use 'main' in a libraryBrad King2012-07-091-1/+1
| | | | | | | | Otherwise when linking 'CustomCommand' some linkers report ld: 0711-224 WARNING: Duplicate symbol: .main Suggested-by: Daniel R. Gomez <gomez@teragram.com>
* BUG: fix test to list generate dheaderKen Martin2006-03-241-1/+1
|
* ENH: Automatic include directories should not be done by default as was just ↵Brad King2006-02-191-1/+4
| | | | implemented. Instead a project may now set CMAKE_INCLUDE_CURRENT_DIR to get this behavior. The current source and binary directories are added automatically to the beginning of the include path in every directory. This simulates in-source behavior for double-quote includes when there are generated sources and headers in the directory.
* COMP: Fixed form of function main.Brad King2006-02-141-2/+2
|
* ENH: add test for generated headerBill Hoffman2006-01-093-0/+16