root/tools/typemapgenerator/README @ 179:9984c20cf0f7

Revision 179:9984c20cf0f7, 0.9 KB (checked in by Andreas Schaefer <gentryx@…>, 14 months ago)

fixed some bitrot in the typemap generator

Line 
1This is the TypemapGenerator, a simple code generator to automate the
2construction of MPI datatypes for custom C++ classes. Rather than
3parsing the source code itself, it relies relies on Doxygen's XML
4output. It will produce a class "Typemaps", located in the files
5"YOUR_PATH/typemaps.{h,cpp}". This class will contain the MPI code
6create the neccessary extended struct derived datatypes. The
7TypemapGenerator will only generate datatypes for its friends.
8
9To get an idea how it's working, have a look at the demonstation
10project in "./sample". The "compile.sh" script exhibits the three
11phase build process: (a) parsing via Doxygen, (b) code generation
12using the TypemapGenerator and (c) compilation using Make.
13
14INSTALLATION
15============
16
17You will probably want to integrate the TypemapGenerator into your build
18process (similar to "compile.sh"). How this is done will depend on
19your setup.
Note: See TracBrowser for help on using the browser.