File tree Expand file tree Collapse file tree 3 files changed +34
-34
lines changed Expand file tree Collapse file tree 3 files changed +34
-34
lines changed Original file line number Diff line number Diff line change 104
104
<ModuleDefinitionFile >ProcessHacker.def</ModuleDefinitionFile >
105
105
</Link >
106
106
<PreBuildEvent >
107
- <Command >update_rev.bat</Command >
107
+ <Command >..\build\internal\ update_rev.bat</Command >
108
108
</PreBuildEvent >
109
109
<PreBuildEvent >
110
110
<Message >Generating revision number...</Message >
133
133
<ModuleDefinitionFile >ProcessHacker.def</ModuleDefinitionFile >
134
134
</Link >
135
135
<PreBuildEvent >
136
- <Command >update_rev.bat</Command >
136
+ <Command >..\build\internal\ update_rev.bat</Command >
137
137
</PreBuildEvent >
138
138
<PreBuildEvent >
139
139
<Message >Generating revision number...</Message >
169
169
<ModuleDefinitionFile >ProcessHacker.def</ModuleDefinitionFile >
170
170
</Link >
171
171
<PreBuildEvent >
172
- <Command >update_rev.bat</Command >
172
+ <Command >..\build\internal\ update_rev.bat</Command >
173
173
</PreBuildEvent >
174
174
<PreBuildEvent >
175
175
<Message >Generating revision number...</Message >
204
204
<ModuleDefinitionFile >ProcessHacker.def</ModuleDefinitionFile >
205
205
</Link >
206
206
<PreBuildEvent >
207
- <Command >update_rev.bat</Command >
207
+ <Command >..\build\internal\ update_rev.bat</Command >
208
208
</PreBuildEvent >
209
209
<PreBuildEvent >
210
210
<Message >Generating revision number...</Message >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+ SETLOCAL
3
+
4
+ SET " UPDATEGITREVISION = ..\..\tools\UpdateGitRevision\UpdateGitRevision\bin\Release\UpdateGitRevision.exe"
5
+
6
+ PUSHD %~dp0
7
+
8
+ " %UPDATEGITREVISION% " " ..\..\ProcessHacker\include\phapprev_in.h" " ..\..\ProcessHacker\include\phapprev.h"
9
+ IF %ERRORLEVEL% NEQ 0 GOTO NoUpdateGitRevision
10
+
11
+ POPD
12
+ ENDLOCAL
13
+ EXIT /B
14
+
15
+
16
+ :NoUpdateGitRevision
17
+ ECHO . & ECHO UpdateGitRevision.exe wasn't found!
18
+ ECHO You need to build it.
19
+ ECHO I'll use PHAPP_VERSION_REVISION=0 for now.
20
+
21
+ ECHO #ifndef PHAPPREV_H > " ..\..\ProcessHacker\include\phapprev.h"
22
+ ECHO #define PHAPPREV_H >> " ..\..\ProcessHacker\include\phapprev.h"
23
+ ECHO . >> " ..\..\ProcessHacker\include\phapprev.h"
24
+ ECHO #define PHAPP_VERSION_REVISION 0 >> " ..\..\ProcessHacker\include\phapprev.h"
25
+ ECHO . >> " ..\..\ProcessHacker\include\phapprev.h"
26
+ ECHO #endif // PHAPPREV_H >> " ..\..\ProcessHacker\include\phapprev.h"
27
+
28
+ POPD
29
+ ENDLOCAL
30
+ EXIT /B
You can’t perform that action at this time.
0 commit comments