Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
27429 Discussions

Adding version number to the output target file name (.dll)

Ibrahim_A_
Novice
324 Views

Hello,

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?

0 Kudos
1 Reply
jimdempseyatthecove
Black Belt
324 Views

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.

Jim Dempsey

Reply