Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

doc/developing.doxy
Go to the documentation of this file.
00001 
00050  namespace hp3Dedge {
00051    // leave this empty, just for documentation
00052  } @endverbatim
00053 
00054     Then, you need to modify the top level <tt>Jamfile</tt>
00055     and register the new project there. Ie., you have to add the name
00056     of the project with <tt>build-project</tt>.
00057 
00058     @subsubsection file-cont Contents of a Jamfile
00059 
00060     A <tt>Jamfile</tt> holds the following information:
00061 
00062     - <tt>project</tt>:
00063       The name of the project. This is identical with the name of the
00064       subdirectory.
00065     - <tt>usage-requirements</tt>:
00066       The names of the projects on which the current project depends (on
00067       the linking level, source level dependencies [<tt>#include</tt>] is
00068       handled automatically).
00069     - <tt>SOURCES</tt>, <tt>lib</tt>
00070       <tt>exe</tt>, <tt>obj</tt>, <tt>unit-test</tt>:
00071       The files which are built in this project.
00072 
00073     <b>Examples</b> can be found in <tt>geometry</tt>
00074     for a normal project and <tt>applications</tt>
00075     for the applications project.
00076 
00077     @section building Building Concepts
00078 
00079     Changing into any source directory (or staying in the top level directory) 
00080     and calling <tt>bjam</tt> should build the library and the
00081     executables.  If you want to rebuild a subpart, you can
00082     issue <tt>bjam</tt> in its subdirectory again.
00083 
00084     @section cvs Version Managment with CVS
00085 
00086     Documentation on CVS can be found
00087     <a href="http://www.loria.fr/~molli/cvs/doc/cvs_toc.html">here</a>
00088     and <a href="http://www.cvshome.org/docs/manual/">there</a>.
00089 
00090     @subsection obtain Obtaining Concepts
00091 
00092     Checking out Concepts from CVS is as simple as this:
00093     @verbatim setenv CVSROOT /u/users/concepts/cvsroot
00094  cvs checkout concepts-2 @endverbatim
00095     When you already have a version of Concepts-2 and want to update
00096     to the most recent version, just type
00097     @verbatim cvs update -dP @endverbatim
00098     in the <tt>concepts-2</tt> subdirectory. This is also a good
00099     method to find out which files where changed by you (they are
00100     marked with a "M"). Other marks which could show up are described
00101     <a href="http://www.loria.fr/~molli/cvs/doc/cvs_16.html#SEC150">here</a>
00102     and
00103     <a href="http://www.cvshome.org/docs/manual/cvs_16.html#SEC152">there</a>.
00104 
00105     @subsection commit Giving Back Changes
00106 
00107     When you have changed some files and want to give the changes
00108     back, you have to "commit" them using the <tt>cvs commit</tt> command:
00109     @verbatim cvs commit -m "Added anistropic polynomial degree" element.hh @endverbatim
00110     If you have a somewhat longer comment use <tt>cvs commit</tt>
00111     without the <tt>-m "message"</tt> and and an editor will be opened
00112     where you can enter your message.
00113 
00114     If you want to check what your changes where, use
00115     @verbatim cvs diff -u element.hh @endverbatim
00116     before using the <tt>commit</tt> command. This will show you the
00117     changes of your local copy with respect to the current copy in the
00118     repository.
00119 
00120     You can also check the previous log messages with
00121     @verbatim cvs log element.hh @endverbatim
00122     It is good practice to do an update before trying to give back
00123     changes.
00124 
00125     @subsection reg-cvs Registering New Files
00126 
00127     When you created a new file, then you first need to add this file
00128     to the repository using
00129     @verbatim cvs add -m "Abstract base classes for elements" element.hh @endverbatim
00130     The message is a general description of the file. After this, you
00131     can commit the new file using the <tt>cvs commit</tt> command.
00132 
00133     Registering a new directory is even easier: it suffices to issue
00134     the <tt>cvs add</tt> command to create a new directory in the CVS
00135     repository.
00136 
00137     @section documentation Enhance this Documentation
00138 
00139     The whole documentation is done using
00140     <a href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</a>. General
00141     pages are in the \c doc directory, the pages for the tutorials are
00142     in the \c applications directory: \c file.doxy contains the
00143     documentation for \c file.cc. The classes are documented right in
00144     the source files using special Doxygen-style comments.
00145 
00146     To generate the documentation in \c concepts-2/doc/doxygen/html
00147     use the command
00148     @verbatim make -C $CONCEPTSDIR doxygen @endverbatim
00149     and to generate and install the documentation, use
00150     @verbatim make -C $CONCEPTSDIR html-install DEST=~concepts/www @endverbatim
00151 
00152     @author Philipp Frauenfelder, 2004
00153 */

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)