I am trying to separate out internal and external documentation using the doxygen constructs of cond; but i just cant seem to get get it working. I would essentially like to exclude some files completely and not conditionally. Regardless of where i add the tag (before include, before header guards etc) , the files and source both show up.
What i have tried in vain is to take the test file from doxegen repo for conditional test and add it to the project.
Steps to reproduce [Linux]
- create a new directory.
- copy paste the above file (had to rename it to .h as .c was passed over?).
- generate dummy config via doxygen -g.
- update Doxyfile ENABLED_SECTION = COND_ENABLED.
- Run doxygen.
- check html/index.html
This however is still visible in the html documentation it generates for the project. I have set the ENABLED_SECTION variable with other values , but cond_enabled function still shows up. Running the testing directory of the project (doxygen) it passes. So i am lost.
Any suggestions?
Tried with latest version 1.8.14.
Thanks!
doxygenwhen actually generating the documentation? Or one of theEXCLUDEconfiguration settings (see the documentation for doxygen)? - Some programmer dude