15
15
<li><a href="pages.html"><span>Related Pages</span></a></li>
20
<li><a href="files.html"><span>File List</span></a></li>
21
<li><a href="globals.html"><span>File Members</span></a></li>
25
<a class="el" href="dir_101a379c6bb6ea5a405fc1dc3c87af45.html">bin</a> » <a class="el" href="dir_08ef3b45999affe4da77ae6326d62e26.html">csbuild</a></div>
19
<a class="el" href="dir_85aaf03b3f18b2b8320021a91397a390.html">bin</a> » <a class="el" href="dir_44dc04f79b7ab84d2acad943b1bcfc6c.html">csbuild</a></div>
26
20
<h1>csbuild.cc</h1><a href="csbuild_8cc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright © 2005-2007 Roger Leigh <rleigh@debian.org></span>
27
21
<a name="l00002"></a>00002 <span class="comment"> *</span>
28
<a name="l00003"></a>00003 <span class="comment"> * schroot is free software; you can redistribute it and/or modify it</span>
22
<a name="l00003"></a>00003 <span class="comment"> * schroot is free software: you can redistribute it and/or modify it</span>
29
23
<a name="l00004"></a>00004 <span class="comment"> * under the terms of the GNU General Public License as published by</span>
30
<a name="l00005"></a>00005 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
24
<a name="l00005"></a>00005 <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span>
31
25
<a name="l00006"></a>00006 <span class="comment"> * (at your option) any later version.</span>
32
26
<a name="l00007"></a>00007 <span class="comment"> *</span>
33
27
<a name="l00008"></a>00008 <span class="comment"> * schroot is distributed in the hope that it will be useful, but</span>
36
30
<a name="l00011"></a>00011 <span class="comment"> * General Public License for more details.</span>
37
31
<a name="l00012"></a>00012 <span class="comment"> *</span>
38
32
<a name="l00013"></a>00013 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
39
<a name="l00014"></a>00014 <span class="comment"> * along with this program; if not, write to the Free Software</span>
40
<a name="l00015"></a>00015 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston,</span>
41
<a name="l00016"></a>00016 <span class="comment"> * MA 02111-1307 USA</span>
42
<a name="l00017"></a>00017 <span class="comment"> *</span>
43
<a name="l00018"></a>00018 <span class="comment"> *********************************************************************/</span>
44
<a name="l00019"></a>00019
45
<a name="l00020"></a>00020 <span class="preprocessor">#include <config.h></span>
46
<a name="l00021"></a>00021
47
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="csbuild-options_8h.html">csbuild-options.h</a>"</span>
48
<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="csbuild-main_8h.html">csbuild-main.h</a>"</span>
49
<a name="l00024"></a>00024
50
<a name="l00025"></a>00025 <span class="preprocessor">#include <<a class="code" href="schroot-base-run_8h.html">schroot-base/schroot-base-run.h</a>></span>
51
<a name="l00026"></a>00026
52
<a name="l00027"></a>00027 <span class="keyword">using</span> std::endl;
53
<a name="l00028"></a>00028 <span class="keyword">using</span> boost::format;
54
<a name="l00029"></a>00029 <span class="keyword">namespace </span>opt = boost::program_options;
55
<a name="l00030"></a>00030
56
<a name="l00031"></a>00031 <span class="keyword">using namespace </span>csbuild;
57
<a name="l00032"></a>00032
58
<a name="l00042"></a>00042 <span class="keywordtype">int</span>
59
<a name="l00043"></a><a class="code" href="csbuild_8cc.html#0ddf1224851353fc92bfbff6f499fa97">00043</a> <a class="code" href="schroot_8cc.html#0ddf1224851353fc92bfbff6f499fa97" title="Main routine.">main</a> (<span class="keywordtype">int</span> argc,
60
<a name="l00044"></a>00044 <span class="keywordtype">char</span> *argv[])
61
<a name="l00045"></a>00045 {
62
<a name="l00046"></a>00046 <span class="keywordflow">return</span> <a class="code" href="namespaceschroot__base.html#89b50862b19c7bac85832e27092ed01d" title="Main routine.">schroot_base::run</a>
63
<a name="l00047"></a>00047 <<a class="code" href="classcsbuild_1_1options.html" title="csbuild command-line options.">csbuild::options</a>, <a class="code" href="classcsbuild_1_1main.html" title="Frontend for schroot.">csbuild::main</a>>(argc, argv);
64
<a name="l00048"></a>00048 }
65
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 8 21:23:54 2007 for schroot by
33
<a name="l00014"></a>00014 <span class="comment"> * along with this program. If not, see</span>
34
<a name="l00015"></a>00015 <span class="comment"> * <http://www.gnu.org/licenses/>.</span>
35
<a name="l00016"></a>00016 <span class="comment"> *</span>
36
<a name="l00017"></a>00017 <span class="comment"> *********************************************************************/</span>
37
<a name="l00018"></a>00018
38
<a name="l00019"></a>00019 <span class="preprocessor">#include <config.h></span>
39
<a name="l00020"></a>00020
40
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="csbuild-options_8h.html">csbuild-options.h</a>"</span>
41
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="csbuild-main_8h.html">csbuild-main.h</a>"</span>
42
<a name="l00023"></a>00023
43
<a name="l00024"></a>00024 <span class="preprocessor">#include <<a class="code" href="schroot-base-run_8h.html">schroot-base/schroot-base-run.h</a>></span>
44
<a name="l00025"></a>00025
45
<a name="l00026"></a>00026 <span class="keyword">using</span> std::endl;
46
<a name="l00027"></a>00027 <span class="keyword">using</span> boost::format;
47
<a name="l00028"></a>00028 <span class="keyword">namespace </span>opt = boost::program_options;
48
<a name="l00029"></a>00029
49
<a name="l00030"></a>00030 <span class="keyword">using namespace </span>csbuild;
50
<a name="l00031"></a>00031
51
<a name="l00041"></a>00041 <span class="keywordtype">int</span>
52
<a name="l00042"></a><a class="code" href="csbuild_8cc.html#0ddf1224851353fc92bfbff6f499fa97">00042</a> <a class="code" href="schroot_8cc.html#0ddf1224851353fc92bfbff6f499fa97" title="Main routine.">main</a> (<span class="keywordtype">int</span> argc,
53
<a name="l00043"></a>00043 <span class="keywordtype">char</span> *argv[])
54
<a name="l00044"></a>00044 {
55
<a name="l00045"></a>00045 <span class="keywordflow">return</span> <a class="code" href="namespaceschroot__base.html#89b50862b19c7bac85832e27092ed01d" title="Main routine.">schroot_base::run</a>
56
<a name="l00046"></a>00046 <<a class="code" href="classcsbuild_1_1options.html" title="csbuild command-line options.">csbuild::options</a>, <a class="code" href="classcsbuild_1_1main.html" title="Frontend for schroot.">csbuild::main</a>>(argc, argv);
57
<a name="l00047"></a>00047 }
58
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 21 00:38:28 2008 for schroot by
66
59
<a href="http://www.doxygen.org/index.html">
67
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
60
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>