[BOLT][DOCS] Add PACKAGE_VERSION to doxygen config
authorAmir Ayupov <aaupov@fb.com>
Mon, 23 May 2022 04:44:27 +0000 (21:44 -0700)
committerAmir Ayupov <aaupov@fb.com>
Fri, 3 Jun 2022 01:05:44 +0000 (18:05 -0700)
Clang's doxygen documentation specifies LLVM revision. Do the same for BOLT.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D126912

bolt/docs/doxygen.cfg.in

index 2913285..acdf6f6 100644 (file)
@@ -38,7 +38,7 @@ PROJECT_NAME           = "BOLT"
 # could be handy for archiving the generated documentation or if some version
 # control system is used.
 
-PROJECT_NUMBER         =
+PROJECT_NUMBER         = @PACKAGE_VERSION@
 
 # Using the PROJECT_BRIEF tag one can provide an optional one line description
 # for a project that appears at the top of each page and should give viewer a