Hi,
I'm Mira. I was trying to generate documentation with CMake and Doxygen
recently. I'm a little confused about how to input markdown file through cmake.
As in 'Doxyfile',I just use 'INPUT' and 'FILE_PATTERNS' like:
```
INPUT =
docs/pages \
src
FILE_PATTERNS = *.cpp \
*.h \
*.md
```
where pages is the directory of the markdown files. In this way, I can get what
I want.
But,when I try to use cmake like:
```
file(GLOB_RECURSE DOCS_FILE
${CMAKE_CURRENT_LIST_DIR}/src/*.h
${CMAKE_CURRENT_LIST_DIR}/src/*.cpp
${CMAKE_CURRENT_LIST_DIR}/docs/pages/*.md
)
doxygen_add_docs(doc
${DOCS_FILE}
ALL
USE_STAMP_FILE
COMMENT
"Generate documentation with cmake")
```
As pages, everything is fine.
But there's a 'Files' module in the html document, and the pages will be
considered as files like??
which are not considered as files when I just use Doxyfile.
What bothers me the most is when i open the pages in this file list ,it
will be empty cuz there's no comments of "file" thing in such markdown files.
And if I remove pages in GLOB_RECURSE ,my pages won't be normally
displayed.
So my question is how to get rid of showing the markdown pages in "files" while
using cmake?
THANKS SO MUCH!
Mira
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users