1 # - This module looks for Microsoft HTML Help Compiler
3 # HTML_HELP_COMPILER : full path to the Compiler (hhc.exe)
4 # HTML_HELP_INCLUDE_PATH : include path to the API (htmlhelp.h)
5 # HTML_HELP_LIBRARY : full path to the library (htmlhelp.lib)
8 #=============================================================================
9 # Copyright 2002-2009 Kitware, Inc.
11 # Distributed under the OSI-approved BSD License (the "License");
12 # see accompanying file Copyright.txt for details.
14 # This software is distributed WITHOUT ANY WARRANTY; without even the
15 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 # See the License for more information.
17 #=============================================================================
18 # (To distribute this file outside of CMake, substitute the full
19 # License text for the above reference.)
23 find_program(HTML_HELP_COMPILER
25 "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]"
26 "$ENV{ProgramFiles}/HTML Help Workshop"
27 "C:/Program Files/HTML Help Workshop"
30 get_filename_component(HTML_HELP_COMPILER_PATH "${HTML_HELP_COMPILER}" PATH)
32 find_path(HTML_HELP_INCLUDE_PATH
34 "${HTML_HELP_COMPILER_PATH}/include"
35 "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]/include"
36 "$ENV{ProgramFiles}/HTML Help Workshop/include"
37 "C:/Program Files/HTML Help Workshop/include"
40 find_library(HTML_HELP_LIBRARY
42 "${HTML_HELP_COMPILER_PATH}/lib"
43 "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]/lib"
44 "$ENV{ProgramFiles}/HTML Help Workshop/lib"
45 "C:/Program Files/HTML Help Workshop/lib"
50 HTML_HELP_INCLUDE_PATH