Skip to content
Snippets Groups Projects
Commit c3c9c0ed authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cleanup doc
parent 093d01be
Branches
Tags
No related merge requests found
# $Id: Makefile,v 1.268 2003-03-01 22:36:36 geuzaine Exp $
# $Id: Makefile,v 1.269 2003-03-01 22:50:48 geuzaine Exp $
include variables
......@@ -42,7 +42,7 @@ source-common:
rm -rf gmsh-${GMSH_RELEASE}
tar zcvf gmsh.tgz `ls README* */README* configure *.in Makefile */Makefile\
*/*.[chyl] */*.[ch]pp */*.rc */*.res */*.r */*.ico */*.icns\
*/*.pl */*.pm */*.opt */*.spec`\
*/*.pl */*.pm */*.sh */*.opt */*.spec`\
doc demos tutorial
mkdir gmsh-${GMSH_RELEASE}
cd gmsh-${GMSH_RELEASE} && tar zxvf ../gmsh.tgz
......@@ -148,7 +148,7 @@ package-windows:
strip bin/gmsh.exe
cp /usr/bin/cygwin1.dll gmsh-${GMSH_RELEASE}
cp bin/gmsh.exe gmsh-${GMSH_RELEASE}
cp doc/README.txt gmsh-${GMSH_RELEASE}
cp doc/README.win32 gmsh-${GMSH_RELEASE}/README.txt
cp doc/FORMATS gmsh-${GMSH_RELEASE}/FORMATS.txt
cp doc/VERSIONS gmsh-${GMSH_RELEASE}/VERSIONS.txt
cp doc/FAQ gmsh-${GMSH_RELEASE}/FAQ.txt
......
......@@ -3,9 +3,10 @@ Some easy rules to make the code easy to read/debug/maintain:
- please enable full warnings for your compiler (e.g. gcc -Wall)
- always use Msg() to print information/errors/etc.
- indent your files using ../utils/gmshindent
- indent your files using ../utils/indent.sh
- if working on Windows, don't leave tabs in your files (../utils/untabify)
===========================================================================
How to add an option in the graphical user interface?
......@@ -28,4 +29,17 @@ Optional:
handling routine opt_XXX to the OK callback for the corresponding
option panel (in Fltk/Callbacks.cpp).
===========================================================================
Tools to check memory leaks
* LIBNJAMD
export LD_PRELOAD=libnjamd.so
kill -USR1
* valgrind
* purify
* memprof
All code should be preferably formatted using ../utils/gmshindent
indent --braces-on-if-line --cuddle-do-while --honour-newlines --no-space-after-casts --no-space-after-function-call-names --no-space-after-for --no-space-after-if --no-space-after-while --no-tabs --dont-format-comments --comment-indentation1 --dont-break-procedure-type */*.cpp
If we don't want the return type on the same line as the function name, just remove
--dont-break-procedure-type
* LIBNJAMD
export LD_PRELOAD=libnjamd.so
kill -USR1
* valgrind
* purify
* memprof
$Id: README.txt,v 1.6 2003-02-21 06:56:57 geuzaine Exp $
$Id: README.win32,v 1.1 2003-03-01 22:50:48 geuzaine Exp $
For Windows versions of Gmsh only:
==================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment