Use the PREDEFINED configuration option:
http://www.doxygen.nl/manual/config.html#cfg_predefined

In your case,

PREDEFINED = IsServer IsClient

Peter

> On Nov 4, 2015, at 10:37 AM, Jayty <ja...@survivethenights.net> wrote:
> 
> Apologies if this has already been asked, or if I'm asking a silly question
> although I'm new to doxygen and must be missing something :)
> 
> So the issue I'm having is this. I'm using doxygen to produce documentation
> for my Unity3D project, everything works well until I make use of unity's
> code separation setup which involves using a tags throughout my documents to
> separate server and client code.
> 
> For example - 
> 
> #if IsServer
> server classes here,
> #end if
> 
> #if IsClient
> Client stuff here
> #endif
> 
> The issue I'm having is that as soon as doxygen hits a #, it seems to avoid
> the document in its entirety :/ I can't get around having to use the symbols
> either since separating the server/client code into their own scripts is a
> pain.
> 
> I'm sure I'm just missing the process to stop doxy having this behaviour,
> any insight would be greatly appreciated.
> 
> Jay
> 
> 
> 
> --
> View this message in context: 
> http://doxygen.10944.n7.nabble.com/Classes-being-missed-due-to-having-symbol-in-document-tp7446.html
> Sent from the Doxygen - Users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users

____________
Peter Barnes
p...@mac.com


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

Reply via email to