doxygen: Define __cplusplus

This commit is contained in:
James Benton 2018-06-14 13:33:26 +01:00
parent 2888e3f666
commit 9ffe296274

View File

@ -31,6 +31,7 @@ if(DOXYGEN_FOUND)
set(DOXYGEN_ENUM_VALUES_PER_LINE 1)
set(DOXYGEN_CLASS_DIAGRAMS NO)
set(DOXYGEN_COLLABORATION_GRAPH NO)
set(DOXYGEN_PREDEFINED "__cplusplus")
doxygen_add_docs(docs
"${CMAKE_CURRENT_SOURCE_DIR}/../include"