Browse Source

添加gitver.exe生成版本信息记录commitid

Jeff Wang 3 years ago
parent
commit
a24fcfc347

+ 5 - 3
FactoryAssistTool/FactoryAssistTool/FactoryAssistTool.vcproj

@@ -26,6 +26,7 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				CommandLine="gitver.exe"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -106,6 +107,7 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				CommandLine="gitver.exe"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -222,15 +224,15 @@
 			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
 			>
 			<File
-				RelativePath=".\Resource.h"
+				RelativePath=".\FactoryAssistTool.h"
 				>
 			</File>
 			<File
-				RelativePath=".\FactoryAssistTool.h"
+				RelativePath=".\FactoryAssistToolDlg.h"
 				>
 			</File>
 			<File
-				RelativePath=".\FactoryAssistToolDlg.h"
+				RelativePath=".\Resource.h"
 				>
 			</File>
 			<File

BIN
FactoryAssistTool/FactoryAssistTool/gitver.exe