Expand macro inside doxygen comment for printing out software version

后端 未结 3 2014
南笙
南笙 2020-12-29 14:30

I have some C++ code base, documented with doxygen, and build with GNU make. Version information is centralized in makefile, where I have something like:

3条回答
  •  长情又很酷
    2020-12-29 15:19

    the commands manual suggests that $(VARIABLE) expands environment variables. So maybe you can put your version in an environment variable?

提交回复
热议问题