cmake-OpenFOAM icon indicating copy to clipboard operation
cmake-OpenFOAM copied to clipboard

Versioning in Global source file

Open stuart23 opened this issue 8 years ago • 1 comments
trafficstars

File src/OpenFOAM/global/global.C has the following comment:

This file has the extension .Cver to trigger a Makefile rule that converts 'VERSION_STRING' and 'BUILD_STRING' into the appropriate strings.

We need to build the version number into the code somehow

stuart23 avatar Feb 20 '17 01:02 stuart23

Build version MUST be hard coded so that it stays in the git and not just a cmake option. Consider this option: http://brianmilco.blogspot.co.uk/2012/11/cmake-automatically-use-git-tags-as.html

stuart23 avatar Mar 05 '17 12:03 stuart23