Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning in Global source file #4

Open
stuart23 opened this issue Feb 20, 2017 · 1 comment
Open

Versioning in Global source file #4

stuart23 opened this issue Feb 20, 2017 · 1 comment
Assignees

Comments

@stuart23
Copy link
Owner

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
Copy link
Owner Author

stuart23 commented Mar 5, 2017

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 stuart23 self-assigned this Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant