I will try to explain it as good as I can. I have three headers with *utilities* for the library. Boolean, strings and maths. Each one has a #ifndef and #endif sentence like this:
Code: Select all
#ifndef __STRUTILITIES_H
#define __STRUTILITIES_H
// #include <string.h>
// char * strenc( /* blah blah blah */ );
/* blah blah blah, blah blah blah */
#endifCode: Select all
#ifndef __IOUTILIB_L
#define __IOUTILIB_L
#include <boolean.h>
#include <strutilities.h>
#include <mutilities.h>
/* Include the File Input/Output Header */
#include <ioutilities.h>
/* Include the Ini File Parser Header*/
#include <iniutilities.h>
/* Include the db-utils header */
#include <dbutils.h>
#endifCode: Select all
#ifdef __IOUTILIB_L && __STRUTILITIES_H
#ifndef __IOUTILITIES_H
#define __IOUTILITIES_H
/* Code and functions */
#endifBut, the problem, is that Doxygen doesn't keep the '__STRUTILITIES_H' macro defined in strutilities.h the first time it's included. And, because of that, Doxygen cannot work and doesn't produce documentation for ioutilities.h, iniutilities.h, dbutils.h... etc...
Can anybody help me? I have tested out the options of the Preprocessor section of the Doxywizard (:3) but just doesn't seems to work.
Advertising