pistacheio / pistache

A high-performance REST toolkit written in C++
https://pistacheio.github.io/pistache/
Apache License 2.0
3.12k stars 690 forks source link

how to use docs/Doxyfile.in to generate document? #1108

Closed edidada closed 1 year ago

edidada commented 1 year ago

doxygen Doxyfile.in warning: tag INPUT: input source '@SOURCE_DIR@/README.md' does not exist warning: tag INPUT: input source '@SOURCE_DIR@/src/' does not exist warning: tag INPUT: input source '@SOURCE_DIR@/include/' does not exist warning: tag INPUT: input source '@SOURCE_DIR@/examples/' does not exist warning: tag INPUT: input source '@SOURCE_DIR@/docs/' does not exist error: tag OUTPUT_DIRECTORY: Output directory '@CURRENT_BUILD_DIR@/docs/' does not exist and cannot be created Exiting...

edidada commented 1 year ago

run this in bash

cd pistache meson setup build \ --buildtype=release \ -DPISTACHE_USE_SSL=true \ -DPISTACHE_BUILD_EXAMPLES=true \ -DPISTACHE_BUILD_TESTS=true \ -DPISTACHE_BUILD_DOCS=true \ --prefix="$PWD/prefix" meson install -C build doxygen build/docs/Doxyfile

Tachi107 commented 1 year ago

Alternatively, you can pass -DPISTACHE_BUILD_DOCS=true when running meson setup, and then run meson compile -C build docs