Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Adding version number to executable at build time

$
0
0
I have a console application written in FORTRAN and would like to append the version of the program to the executable at build time. The source code is under GIT control. I have a post commit hook on git which will create a file name version at the top of my source tree. How do I define a macro (say Version) which will read the text file. I see user defined macros under C and C++ but not as part of a FORTRAN project.

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>