54 Then, you need to modify the top level <tt>Jamfile</tt>
55 and
register the
new project there. Ie., you have to add the name
56 of the project with <tt>build-project</tt>.
58 @subsubsection file-cont Contents of a Jamfile
60 A <tt>Jamfile</tt> holds the following information:
63 The name of the project. This is identical with the name of the
65 - <tt>usage-requirements</tt>:
66 The names of the projects on which the current project depends (on
67 the linking level, source level dependencies [<tt>#include</tt>] is
68 handled automatically).
69 - <tt>SOURCES</tt>, <tt>lib</tt>
70 <tt>exe</tt>, <tt>obj</tt>, <tt>unit-
test</tt>:
71 The files which are built in
this project.
73 <b>Examples</b> can be found in <tt>
geometry</tt>
74 for a normal project and <tt>applications</tt>
75 for the applications project.
77 @section building Building Concepts
79 Changing into any source directory (or staying in the top level directory)
80 and calling <tt>bjam</tt> should build the library and the
81 executables. If you want to rebuild a subpart, you can
82 issue <tt>bjam</tt> in its subdirectory again.
84 @section cvs Version Managment with CVS
86 Documentation on CVS can be found
87 <a href=
"http://www.loria.fr/~molli/cvs/doc/cvs_toc.html">here</a>
88 and <a href=
"http://www.cvshome.org/docs/manual/">there</a>.
90 @subsection obtain Obtaining Concepts
92 Checking out Concepts from CVS is as simple as
this:
93 @verbatim setenv CVSROOT /u/users/
concepts/cvsroot
95 When you already have a version of Concepts-2 and want to update
96 to the most recent version, just type
97 @verbatim cvs update -dP
@endverbatim
98 in the <tt>
concepts-2</tt> subdirectory. This is also a good
99 method to find out which files where changed by you (they are
100 marked with a
"M"). Other marks which could show up are described
101 <a href=
"http://www.loria.fr/~molli/cvs/doc/cvs_16.html#SEC150">here</a>
103 <a href=
"http://www.cvshome.org/docs/manual/cvs_16.html#SEC152">there</a>.
105 @subsection commit Giving Back Changes
107 When you have changed some files and want to give the changes
108 back, you have to
"commit" them
using the <tt>cvs commit</tt> command:
109 @verbatim cvs commit -m
"Added anistropic polynomial degree" element.hh
@endverbatim
110 If you have a somewhat longer comment use <tt>cvs commit</tt>
111 without the <tt>-m
"message"</tt> and and an editor will be opened
112 where you can enter your message.
114 If you want to check what your changes where, use
115 @verbatim cvs diff -u element.hh
@endverbatim
116 before
using the <tt>commit</tt> command. This will show you the
117 changes of your local copy with respect to the current copy in the
120 You can also check the previous log messages with
121 @verbatim cvs log element.hh
@endverbatim
122 It is good practice to
do an update before trying to give back
125 @subsection reg-cvs Registering New Files
127 When you created a
new file, then you first need to add
this file
128 to the repository
using
129 @verbatim cvs add -m
"Abstract base classes for elements" element.hh
@endverbatim
130 The message is a general description of the file. After
this, you
131 can commit the
new file
using the <tt>cvs commit</tt> command.
133 Registering a
new directory is even easier: it suffices to issue
134 the <tt>cvs add</tt> command to create a
new directory in the CVS
137 @section documentation Enhance
this Documentation
139 The whole documentation is done
using
140 <a href=
"http://www.stack.nl/~dimitri/doxygen/">Doxygen</a>. General
141 pages are in the \c doc directory, the pages
for the tutorials are
142 in the \c applications directory: \c file.doxy contains the
143 documentation for \c file.cc. The classes are documented right in
144 the source files
using special Doxygen-style comments.
146 To generate the documentation in \c
concepts-2/doc/doxygen/html
148 @verbatim make -C $CONCEPTSDIR doxygen
@endverbatim
149 and to generate and install the documentation, use
150 @verbatim make -C $CONCEPTSDIR html-install DEST=~
concepts/www
@endverbatim
152 @author Philipp Frauenfelder, 2004