diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-21 11:53:24 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-04-29 16:36:02 -0700 |
commit | b6c44ffcf2ef7a706598fe218523ec377e96cc47 (patch) | |
tree | 712bd2b337a197644c1ac88bef96ccf8d3b779d6 /src/engine | |
parent | 752f0e0576dc27e937c553ed9dce5576bd388e95 (diff) | |
download | wix-b6c44ffcf2ef7a706598fe218523ec377e96cc47.tar.gz wix-b6c44ffcf2ef7a706598fe218523ec377e96cc47.tar.bz2 wix-b6c44ffcf2ef7a706598fe218523ec377e96cc47.zip |
Migrate Burn API headers to balutil repository
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/engine.vcxproj | 21 | ||||
-rw-r--r-- | src/engine/precomp.h | 8 |
2 files changed, 22 insertions, 7 deletions
diff --git a/src/engine/engine.vcxproj b/src/engine/engine.vcxproj index 9e90ee19..b3a0f81b 100644 --- a/src/engine/engine.vcxproj +++ b/src/engine/engine.vcxproj | |||
@@ -1,7 +1,10 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | |||
3 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
4 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" /> | 5 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props')" /> |
6 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props')" /> | ||
7 | |||
5 | <ItemGroup Label="ProjectConfigurations"> | 8 | <ItemGroup Label="ProjectConfigurations"> |
6 | <ProjectConfiguration Include="Debug|Win32"> | 9 | <ProjectConfiguration Include="Debug|Win32"> |
7 | <Configuration>Debug</Configuration> | 10 | <Configuration>Debug</Configuration> |
@@ -28,6 +31,7 @@ | |||
28 | <Platform>ARM64</Platform> | 31 | <Platform>ARM64</Platform> |
29 | </ProjectConfiguration> | 32 | </ProjectConfiguration> |
30 | </ItemGroup> | 33 | </ItemGroup> |
34 | |||
31 | <PropertyGroup Label="Globals"> | 35 | <PropertyGroup Label="Globals"> |
32 | <ProjectGuid>{8119537D-E1D9-6591-D51A-49768A2F9C37}</ProjectGuid> | 36 | <ProjectGuid>{8119537D-E1D9-6591-D51A-49768A2F9C37}</ProjectGuid> |
33 | <ConfigurationType>StaticLibrary</ConfigurationType> | 37 | <ConfigurationType>StaticLibrary</ConfigurationType> |
@@ -36,12 +40,19 @@ | |||
36 | <CharacterSet>Unicode</CharacterSet> | 40 | <CharacterSet>Unicode</CharacterSet> |
37 | <Description>Native component of WixToolset.Burn</Description> | 41 | <Description>Native component of WixToolset.Burn</Description> |
38 | </PropertyGroup> | 42 | </PropertyGroup> |
43 | |||
39 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 44 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
40 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 45 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
46 | |||
47 | <PropertyGroup> | ||
48 | <ProjectAdditionalIncludeDirectories Condition=" '$(DirectReference)'=='true' ">$(ProjectDir)..\..\..\balutil\src\WixToolset.BootstrapperCore.Native\inc;$(ProjectAdditionalIncludeDirectories)</ProjectAdditionalIncludeDirectories> | ||
49 | </PropertyGroup> | ||
50 | |||
41 | <ImportGroup Label="ExtensionSettings"> | 51 | <ImportGroup Label="ExtensionSettings"> |
42 | </ImportGroup> | 52 | </ImportGroup> |
43 | <ImportGroup Label="Shared"> | 53 | <ImportGroup Label="Shared"> |
44 | </ImportGroup> | 54 | </ImportGroup> |
55 | |||
45 | <ItemGroup> | 56 | <ItemGroup> |
46 | <ClCompile Include="apply.cpp" /> | 57 | <ClCompile Include="apply.cpp" /> |
47 | <ClCompile Include="approvedexe.cpp" /> | 58 | <ClCompile Include="approvedexe.cpp" /> |
@@ -136,6 +147,7 @@ | |||
136 | <ItemGroup> | 147 | <ItemGroup> |
137 | <None Include="packages.config" /> | 148 | <None Include="packages.config" /> |
138 | </ItemGroup> | 149 | </ItemGroup> |
150 | |||
139 | <ItemGroup> | 151 | <ItemGroup> |
140 | <CustomBuild Include="engine.mc"> | 152 | <CustomBuild Include="engine.mc"> |
141 | <Message>Compiling message file...</Message> | 153 | <Message>Compiling message file...</Message> |
@@ -144,6 +156,7 @@ rc.exe -fo "$(OutDir)engine.res" "$(IntDir)engine.messages.rc"</Command> | |||
144 | <Outputs>$(IntDir)engine.messages.h;$(IntDir)engine.messages.rc;$(OutDir)engine.res</Outputs> | 156 | <Outputs>$(IntDir)engine.messages.h;$(IntDir)engine.messages.rc;$(OutDir)engine.res</Outputs> |
145 | </CustomBuild> | 157 | </CustomBuild> |
146 | </ItemGroup> | 158 | </ItemGroup> |
159 | |||
147 | <Target Name="SetWixVersion" DependsOnTargets="GetBuildVersion" BeforeTargets="ClCompile"> | 160 | <Target Name="SetWixVersion" DependsOnTargets="GetBuildVersion" BeforeTargets="ClCompile"> |
148 | <PropertyGroup> | 161 | <PropertyGroup> |
149 | <rmj>$(MajorMinorVersion.Split(`.`)[0])</rmj> | 162 | <rmj>$(MajorMinorVersion.Split(`.`)[0])</rmj> |
@@ -153,6 +166,7 @@ rc.exe -fo "$(OutDir)engine.res" "$(IntDir)engine.messages.rc"</Command> | |||
153 | <szVerMajorMinorBuild>$(rmj).$(rmm).$(rup).$(rpr)</szVerMajorMinorBuild> | 166 | <szVerMajorMinorBuild>$(rmj).$(rmm).$(rup).$(rpr)</szVerMajorMinorBuild> |
154 | <wixver>rmj=$(rmj);rmm=$(rmm);rup=$(rup);rpr=$(rpr);szVerMajorMinorBuild="$(szVerMajorMinorBuild)"</wixver> | 167 | <wixver>rmj=$(rmj);rmm=$(rmm);rup=$(rup);rpr=$(rpr);szVerMajorMinorBuild="$(szVerMajorMinorBuild)"</wixver> |
155 | </PropertyGroup> | 168 | </PropertyGroup> |
169 | |||
156 | <ItemGroup> | 170 | <ItemGroup> |
157 | <ClCompile> | 171 | <ClCompile> |
158 | <PreprocessorDefinitions>$(wixver);%(PreprocessorDefinitions)</PreprocessorDefinitions> | 172 | <PreprocessorDefinitions>$(wixver);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
@@ -166,6 +180,7 @@ rc.exe -fo "$(OutDir)engine.res" "$(IntDir)engine.messages.rc"</Command> | |||
166 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | 180 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
167 | </PropertyGroup> | 181 | </PropertyGroup> |
168 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | 182 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> |
169 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> | 183 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props'))" /> |
184 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
170 | </Target> | 185 | </Target> |
171 | </Project> \ No newline at end of file | 186 | </Project> |
diff --git a/src/engine/precomp.h b/src/engine/precomp.h index 4ab636fc..11b594da 100644 --- a/src/engine/precomp.h +++ b/src/engine/precomp.h | |||
@@ -55,10 +55,10 @@ | |||
55 | #include <apuputil.h> | 55 | #include <apuputil.h> |
56 | #include <dpiutil.h> | 56 | #include <dpiutil.h> |
57 | 57 | ||
58 | #include "..\WixToolset.BootstrapperCore.Native\inc\BootstrapperEngine.h" | 58 | #include "BootstrapperEngine.h" |
59 | #include "..\WixToolset.BootstrapperCore.Native\inc\BootstrapperApplication.h" | 59 | #include "BootstrapperApplication.h" |
60 | #include "..\WixToolset.BootstrapperCore.Native\inc\BundleExtensionEngine.h" | 60 | #include "BundleExtensionEngine.h" |
61 | #include "..\WixToolset.BootstrapperCore.Native\inc\BundleExtension.h" | 61 | #include "BundleExtension.h" |
62 | 62 | ||
63 | #include "platform.h" | 63 | #include "platform.h" |
64 | #include "variant.h" | 64 | #include "variant.h" |