#ifndef DOXYGEN_RUNNING

might help

On 7/22/2020 2:22 PM, Richard Damon wrote:
On 7/22/20 7:49 AM, Harald.Koenig2 via Doxygen-users wrote:
Hi *,

I'm new to doxygen, using git master branch (cf635ef1) on Ubuntu 18.04
(right now mostly with TeXlive 2018 for compatibility by default, TL
2020 installed to).

the C sources to be documented (not my own code) uses an "EXPORT" define
for some plattforms (e.g. "__declspec(dllexport)" for WIN32):

foo.h:

     EXPORT int foo(void);


and of course this "EXPORT" shows up in doxygen output.

question: how to get rid of these "EXPORT"s in doxygen??


right I'm using sed to hack the tex files:

         sed -i 's/E\\+X\\+P\\+O\\+RT//g'  *.tex


there must be a better way??


thanks,

Harald

Enable preprocessing (maybe predefined only) and put a define in you
config file to map EXPORT to nothing. Maybe even you want to also map
__declspec(x) to nothing too.

--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri

_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to