uNetti
uNetti

Reputation: 65

Doxygen how to separate classes by path?

So how exactly does one separate classes by path in Doxygen? I have tried with groups and sections,but for some reason, it would always combine classes with same name.

Current file structure is as following:

Trunk
 |
 +-> Client -> DemoClass.h
 |
 +-> Server -> DemoClass.h
 |
 +-> Shared -> OtherClass.h

Problem is I don't want a 1x DemoClass in doxygen that contains all the functions combined i want 2 seperate sections/class as in Server/DemoClass, Client/DemoClass.

Upvotes: 5

Views: 601

Answers (1)

doxygen
doxygen

Reputation: 14869

This is a known limitation, see bullet 4 of http://www.doxygen.org/manual/trouble.html.

I recommend to make separate projects, one for the server and one for the client, as they can never be legally in one executable anyway, or use namespaces.

File names can be the same, that's not a problem.

Upvotes: 3

Related Questions