aboutsummaryrefslogtreecommitdiff
path: root/src/engine/engine.vcxproj
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-10-18 14:10:39 -0500
committerSean Hall <r.sean.hall@gmail.com>2020-10-24 20:07:21 -0500
commit60717700e175d38412559113c8a5388c954c7c91 (patch)
tree4daa5ac91961b2a682c53db1009e9d3a03cd285a /src/engine/engine.vcxproj
parente879388d96157db6a6e7b2ee79871ef7ebbd3015 (diff)
downloadwix-60717700e175d38412559113c8a5388c954c7c91.tar.gz
wix-60717700e175d38412559113c8a5388c954c7c91.tar.bz2
wix-60717700e175d38412559113c8a5388c954c7c91.zip
Get the internal Burn version to be Major.Minor.Patch.BuildNumber.
Diffstat (limited to 'src/engine/engine.vcxproj')
-rw-r--r--src/engine/engine.vcxproj11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/engine/engine.vcxproj b/src/engine/engine.vcxproj
index d3f5b61e..d98cb7e9 100644
--- a/src/engine/engine.vcxproj
+++ b/src/engine/engine.vcxproj
@@ -151,10 +151,17 @@ rc.exe -fo "$(OutDir)engine.res" "$(IntDir)engine.messages.rc"</Command>
151 <Target Name="SetWixVersion" 151 <Target Name="SetWixVersion"
152 DependsOnTargets="GetBuildVersion" 152 DependsOnTargets="GetBuildVersion"
153 BeforeTargets="ClCompile"> 153 BeforeTargets="ClCompile">
154 <PropertyGroup>
155 <rmj>$(MajorMinorVersion.Split(`.`)[0])</rmj>
156 <rmm>$(MajorMinorVersion.Split(`.`)[1])</rmm>
157 <rup>0</rup>
158 <rpr>$(BuildNumber)</rpr>
159 <szVerMajorMinorBuild>$(rmj).$(rmm).$(rup).$(rpr)</szVerMajorMinorBuild>
160 <wixver>rmj=$(rmj);rmm=$(rmm);rup=$(rup);rpr=$(rpr);szVerMajorMinorBuild="$(szVerMajorMinorBuild)"</wixver>
161 </PropertyGroup>
154 <ItemGroup> 162 <ItemGroup>
155 <ClCompile> 163 <ClCompile>
156 <!-- TODO: get rmj and rmm dynamically --> 164 <PreprocessorDefinitions>$(wixver);%(PreprocessorDefinitions)</PreprocessorDefinitions>
157 <PreprocessorDefinitions>rmj=4;rmm=0;rup=$(BuildNumber);szVerMajorMinorBuild="$(BuildVersion)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
158 </ClCompile> 165 </ClCompile>
159 </ItemGroup> 166 </ItemGroup>
160 </Target> 167 </Target>