build: doxygen generate docs
This commit is contained in:
parent
42a20bcc41
commit
c513d24565
2 changed files with 2876 additions and 2 deletions
16
Makefile
16
Makefile
|
@ -1,5 +1,10 @@
|
|||
VERSION = $(shell git describe --tags --always --long)
|
||||
|
||||
MAKEFILE_DIR = $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
TESTS_BIN = $(MAKEFILE_DIR)/build/cserver_tests
|
||||
BUILD_DIR = $(MAKEFILE_DIR)/build
|
||||
TESTS_BIN = $(BUILD_DIR)/cserver_tests
|
||||
|
||||
DOXYGEN ?= doxygen
|
||||
|
||||
CC = clang
|
||||
CXX = clang++
|
||||
|
@ -75,6 +80,13 @@ tidy: build/.ran-cmake
|
|||
$(shell find examples -name *.cpp) \
|
||||
$(shell find tests -name *.cpp)
|
||||
|
||||
docs:
|
||||
@( \
|
||||
cat docs/doxygen.conf; \
|
||||
echo PROJECT_NUMBER=$(VERSION); \
|
||||
echo OUTPUT_DIRECTORY=$(BUILD_DIR)/docs \
|
||||
) | $(DOXYGEN) -
|
||||
|
||||
FORCE: ;
|
||||
|
||||
.PHONY: all cmake test format clean distclean
|
||||
.PHONY: all cmake format test tidy docs clean distclean
|
2862
docs/doxygen.conf
Normal file
2862
docs/doxygen.conf
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue