Преглед на файлове

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

Jeff Wang преди 3 години
родител
ревизия
a24fcfc347
променени са 2 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 5 3
      FactoryAssistTool/FactoryAssistTool/FactoryAssistTool.vcproj
  2. BIN
      FactoryAssistTool/FactoryAssistTool/gitver.exe

+ 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