Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Doxygen: Generating CHM

📅 2010-Oct-26 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

Compressed HTML (CHM) files are a convenient medium to view and browse through documentation on Windows. Doxygen can produce documentation of source code in the CHM format. Here is how to configure Doxywizard to produce CHM files:

  1. In Wizard → Output, choose the Output Format as Prepare for compressed HTML (.chm). Configure the rest of the Wizard settings as usual. 

  2. In Expert → HTML, provide the CHM filename you want in the CHM_FILE field and the full path of the Microsoft HTML Help Compiler (hhc.exe) tool in the HHC_LOCATION field. This is typically C:\Program Files (x86)\HTML Help Workshop\hhc.exe 

  3. In the Run section choose Run Doxygen and a freshly compressed copy of your CHM documentation will be prepared for you by Doxygen! 😊