source: trunk/Mars/cmake/dohtml.C.in@ 19949

Last change on this file since 19949 was 19309, checked in by tbretz, 6 years ago
Prototype.
File size: 2.0 KB
Line 
1/* ======================================================================== *\
2!
3! *
4! * This file is part of MARS, the MAGIC Analysis and Reconstruction
5! * Software. It is distributed to you in the hope that it can be a useful
6! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
7! * It is distributed WITHOUT ANY WARRANTY.
8! *
9! * Permission to use, copy, modify and distribute this software and its
10! * documentation for any purpose is hereby granted without fee,
11! * provided that the above copyright notice appear in all copies and
12! * that both that copyright notice and this permission notice appear
13! * in supporting documentation. It is provided "as is" without express
14! * or implied warranty.
15! *
16!
17!
18! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
19!
20! Copyright: MAGIC Software Development, 2000-2004
21!
22!
23\* ======================================================================== */
24
25///////////////////////////////////////////////////////////////////////////
26//
27// dohtml.C
28// ========
29//
30// This is a service macro used to create the html-documentation from
31// source code (THtml)
32//
33// Add here all directories in which files are stored from which the
34// documentation should be created an add all macros which should be
35// converted to HTML.
36//
37///////////////////////////////////////////////////////////////////////////
38
39void dohtml()
40{
41 //
42 // don't forget that the shared object must have been loaded
43 //
44
45 //
46 // Do not print 'Info' messages from the root system such like
47 // TCanvas::Print
48 //
49 gErrorIgnoreLevel=kWarning;
50
51 //
52 // create the html document class
53 //
54 THtml html;
55
56 html.SetProductName("MARS");
57
58 html.SetSourceDir("${CMAKE_SOURCE_DIR}:${NOVA_INCLUDE_DIR}:");
59 html.SetOutputDir("htmldoc");
60
61 html.MakeAll(kTRUE);
62
63 html.SetSourceDir("macros");
64 //html.Convert("merpp.C", "MARS - Merging and Preprocessing");
65 //html.Convert("rootlogon.C", "MARS - rootlogon.C");
66}
Note: See TracBrowser for help on using the repository browser.