DXGL r209 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r208
|
r209
|
r210
>
Date:
01:32, 9 July 2012
Author:
admin
Status:
new
Tags:
Comment:
Generate version headers at start of ddraw.dll compilation, helps ensure revision gets updated in version headers
Modified paths:
/buildtool/buildtool.vcxproj
(modified) (
history
)
/ddraw/ddraw.vcxproj
(modified) (
history
)
Diff
[
purge
]
Index: buildtool/buildtool.vcxproj
—
—
@@ -54,12 +54,8 @@
55
55
<GenerateDebugInformation>true</GenerateDebugInformation>
56
56
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
57
57
</Link>
58
- <PostBuildEvent>
59
- <Command>$(OutDir)$(TargetName)$(TargetExt) makeheader $(SolutionDir)common</Command>
60
- </PostBuildEvent>
61
- <PostBuildEvent>
62
- <Message>Build headers</Message>
63
- </PostBuildEvent>
58
+ <PostBuildEvent />
59
+ <PostBuildEvent />
64
60
</ItemDefinitionGroup>
65
61
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
66
62
<ClCompile>
—
—
@@ -71,12 +67,8 @@
72
68
<GenerateDebugInformation>true</GenerateDebugInformation>
73
69
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
74
70
</Link>
75
- <PostBuildEvent>
76
- <Command>$(OutDir)$(TargetName)$(TargetExt) makeheader $(SolutionDir)common</Command>
77
- </PostBuildEvent>
78
- <PostBuildEvent>
79
- <Message>Build headers</Message>
80
- </PostBuildEvent>
71
+ <PostBuildEvent />
72
+ <PostBuildEvent />
81
73
</ItemDefinitionGroup>
82
74
<ItemGroup>
83
75
<ClInclude Include="resource.h" />
Index: ddraw/ddraw.vcxproj
—
—
@@ -92,6 +92,12 @@
93
93
<ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
94
94
<AdditionalDependencies>$(OutDir)cfgmgr.lib;glu32.lib;opengl32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
95
95
</Link>
96
+ <PreBuildEvent>
97
+ <Command>$(OutDir)buildtool.exe makeheader $(SolutionDir)common</Command>
98
+ </PreBuildEvent>
99
+ <PreBuildEvent>
100
+ <Message>Create version headers</Message>
101
+ </PreBuildEvent>
96
102
</ItemDefinitionGroup>
97
103
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug no DXGL|Win32'">
98
104
<ClCompile>
—
—
@@ -112,6 +118,12 @@
113
119
</Link>
114
120
<PostBuildEvent />
115
121
<PostBuildEvent />
122
+ <PreBuildEvent>
123
+ <Command>$(OutDir)buildtool.exe makeheader $(SolutionDir)common</Command>
124
+ </PreBuildEvent>
125
+ <PreBuildEvent>
126
+ <Message>Create version headers</Message>
127
+ </PreBuildEvent>
116
128
</ItemDefinitionGroup>
117
129
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
118
130
<ClCompile>
—
—
@@ -134,6 +146,12 @@
135
147
<ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
136
148
<AdditionalDependencies>$(OutDir)cfgmgr.lib;glu32.lib;opengl32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
137
149
</Link>
150
+ <PreBuildEvent>
151
+ <Command>$(OutDir)buildtool.exe makeheader $(SolutionDir)common</Command>
152
+ </PreBuildEvent>
153
+ <PreBuildEvent>
154
+ <Message>Create version headers</Message>
155
+ </PreBuildEvent>
138
156
</ItemDefinitionGroup>
139
157
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release no DXGL|Win32'">
140
158
<ClCompile>
—
—
@@ -158,6 +176,12 @@
159
177
<ImportLibrary>$(OutDir)ddraw.lib</ImportLibrary>
160
178
</Link>
161
179
<PostBuildEvent />
180
+ <PreBuildEvent>
181
+ <Command>$(OutDir)buildtool.exe makeheader $(SolutionDir)common</Command>
182
+ </PreBuildEvent>
183
+ <PreBuildEvent>
184
+ <Message>Create version headers</Message>
185
+ </PreBuildEvent>
162
186
</ItemDefinitionGroup>
163
187
<ItemGroup>
164
188
<None Include="ddraw.def" />
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version