visual studio - VS2015, how to add TimeStamp to the output directory name? -
i using vs2015, common c++ project. possible add current time or date or timestamp name of output directory?
for example: press "build" button @ 15:23:45 , .exe file outputs /bin/2016_02_29-15_23_45.
an alternative solution add post-build event running script adding folder link named timestamp , targeting output folder.
for timestamp, follow this link
something :
set timestamp= ... mklink /d %timestamp% %1
invoke script passing first wanted vs2015 var, myscript.bat ${outputfolder}
nb: may need have admin permissions invoke mklink
Comments
Post a Comment