summaryrefslogtreecommitdiff
path: root/Modules/FindHTMLHelp.cmake
AgeCommit message (Collapse)AuthorLines
2018-10-22Help: Convert remaining modules to block-style commentsKitware Robot-13/+14
2017-06-09FindHTMLHelp: Use PATH_SUFFIXES to search under Program FilesBrad King-14/+14
The find commands already know how to search in variants of the Program Files folders on Windows. Use PATH_SUFFIXES to tell them under what directory within Program Files to find htmlhelp. Fixes: #16950
2016-09-27Simplify CMake per-source license noticesBrad King-13/+3
Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
2013-10-15Convert builtin help to reStructuredText source filesKitware Robot-4/+11
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
2012-08-13Remove CMake-language block-end command argumentsKitware Robot-1/+1
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-13Convert CMake-language commands to lower caseKitware Robot-7/+7
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-13Remove trailing whitespace from most CMake and C/C++ codeKitware Robot-5/+5
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/ \+$//'
2010-08-09Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin-1/+1
2009-09-28Convert CMake find-modules to BSD LicenseBrad King-0/+13
This adds copyright/license notification blocks CMake's find-modules. Many 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.
2008-01-29ENH: need quotesSebastien Barre-7/+7
2006-02-28ENH: use program files env for searchingBill Hoffman-3/+6
2005-12-15ENH: some style fixes for the bookKen Martin-3/+3
2005-12-14ENH: add documentation support for modulesBill Hoffman-5/+4
2003-08-08ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. ↵Andy Cedilnik-6/+6
Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log
2002-12-22ENH: it's time to create a real Microsoft HTML Help Workshop CMake moduleSebastien Barre-0/+39