3

I want to use doxygen for documentation in my CLion project.

My project structure looks like this:

project root
|- ...
|- doc/
|- src/
|- ...

I want the documentation of the files in the src/ folder to be placed inside doc/.

How do I have to configure CMakeLists.txt to achieve this?

I was searching and trying for a while but I couldn't find any good and up-to-date solution.

I found some references but I was not able to get any solution out of these.

albert
  • 8,285
  • 3
  • 19
  • 32
dab0bby
  • 2,951
  • 1
  • 31
  • 35
  • perhaps this [CMakeLists.txt](https://github.com/brunocodutra/metal/blob/master/doc/CMakeLists.txt) might be of some help. Be sure to also check [Doxyfile.in](https://github.com/brunocodutra/metal/blob/master/doc/Doxyfile.in). – brunocodutra Feb 26 '16 at 16:05
  • As brunocodutra had mentioned: Let Doxyfile.in to control where the doxygen result stores, then use CMake to control when and how the doc is generated during the build. – caoanan Jul 15 '16 at 08:14

0 Answers0