I'm using visual studio with Intel fortran compiler to build a (DLL). I want to change the output file name incrementally every time so that the newly compiled (DLL) would have a different number than the previous (e.g. version number, time or date).
Could I get help on that?
With Visual Studio you can set a PreBuild event (and/or PostBuild event) that can be use to run a program (batch) that you write that increments an environment variable (YourSequenceVariable). Then you can use the $(YourSequenceVariable) in the output name/folder.