Re: [Doxygen-users] set PROJECT_NUMBER to the value of a #define from a header file

2017-08-21 Thread Stefan Ludewig
] set PROJECT_NUMBER to the value of a #define from a header file Hi, Stefan I faced this problem years ago and the solution I came up was to add a target in my Makefiles where I also set variables with the the project version. MAJOR_VERSION = 1 MINOR_VERSION = 10 BUILD_VERSION = 155

Re: [Doxygen-users] set PROJECT_NUMBER to the value of a #define from a header file

2017-08-20 Thread Alessandro Antonello
Hi, Stefan I faced this problem years ago and the solution I came up was to add a target in my Makefiles where I also set variables with the the project version. MAJOR_VERSION = 1 MINOR_VERSION = 10 BUILD_VERSION = 155 VERSION_NUMBER = $(MAJOR_VERSION).$(MINOR_VERSION).$(BUILD_VERSION) Then I ad

[Doxygen-users] set PROJECT_NUMBER to the value of a #define from a header file

2017-08-18 Thread Stefan Ludewig
Hi. I would like to centralize the versioning of a project to avoid having to count up the project version number at multiple places all the time. I have version.h file, which looks like this: #define STRINGIFY2(param) #param #define STRINGIFY(param) EG_PHOTON_STRINGIFY2(param) #define VERSION_M