2019-09-05 00:26:26 +08:00
<?xml version="1.0" encoding="utf-8"?>
2019-10-10 03:21:21 +08:00
<Project ToolsVersion= "15.0" DefaultTargets= "Build" InitialTargets= "EnsureNuGetPackageBuildImports" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
2019-12-09 16:03:07 +08:00
<Import Project= "..\packages\WiX.3.11.2\build\wix.props" Condition= "Exists('..\packages\WiX.3.11.2\build\wix.props')" />
2019-09-05 00:26:26 +08:00
<ItemGroup Label= "ProjectConfigurations" >
<ProjectConfiguration Include= "Debug|x64" >
<Configuration > Debug</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Release|x64" >
<Configuration > Release</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label= "Globals" >
<ProjectGuid > {32f3882b-f2d6-4586-b5ed-11e39e522bd3}</ProjectGuid>
<Keyword > Win32Proj</Keyword>
<RootNamespace > PowerToysSetupCustomActions</RootNamespace>
2021-09-21 20:15:59 +08:00
<WindowsTargetPlatformVersion > 10.0.18362.0</WindowsTargetPlatformVersion>
2019-09-05 00:26:26 +08:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" Label= "Configuration" >
<ConfigurationType > DynamicLibrary</ConfigurationType>
<CharacterSet > Unicode</CharacterSet>
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" Label= "Configuration" >
<ConfigurationType > DynamicLibrary</ConfigurationType>
<CharacterSet > Unicode</CharacterSet>
<WholeProgramOptimization > true</WholeProgramOptimization>
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<LinkIncremental > true</LinkIncremental>
<OutDir > $(Platform)\$(Configuration)\</OutDir>
2021-02-12 00:12:31 +08:00
<IntDir > $(SolutionDir)$(ProjectName)\$(Platform)\$(Configuration)\obj\</IntDir>
2019-09-05 00:26:26 +08:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<LinkIncremental > false</LinkIncremental>
<OutDir > $(Platform)\$(Configuration)\</OutDir>
2021-02-12 00:12:31 +08:00
<IntDir > $(SolutionDir)$(ProjectName)\$(Platform)\$(Configuration)\obj\</IntDir>
2021-03-18 21:24:48 +08:00
<IncludePath > ..\..\src\common\Telemetry;$(IncludePath)</IncludePath>
2019-09-05 00:26:26 +08:00
</PropertyGroup>
2020-12-15 20:16:09 +08:00
<ItemDefinitionGroup >
<ClCompile >
<AdditionalIncludeDirectories > inc;..\..\src\;telemetry;$(WIX)sdk\$(WixPlatformToolset)\inc;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2021-09-21 20:15:59 +08:00
<AdditionalOptions > /await /Zc:twoPhase- /Wv:18 %(AdditionalOptions)</AdditionalOptions>
2020-12-15 20:16:09 +08:00
</ClCompile>
<Link >
<AdditionalLibraryDirectories > $(WIX)sdk\$(WixPlatformToolset)\lib\x64;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\vs2017\lib\x64;..\..\$(PlatformShortName)\$(Configuration)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
2021-09-21 20:15:59 +08:00
<AdditionalDependencies > WindowsApp.lib;Newdev.lib;Crypt32.lib;msi.lib;wcautil.lib;Psapi.lib;Pathcch.lib;comsupp.lib;taskschd.lib;Secur32.lib;msi.lib;dutil.lib;wcautil.lib;Version.lib;ApplicationUpdate.lib;Notifications.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
2020-12-15 20:16:09 +08:00
</Link>
</ItemDefinitionGroup>
2019-09-05 00:26:26 +08:00
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<ClCompile >
<Optimization > Disabled</Optimization>
<PreprocessorDefinitions > WIN64;_DEBUG;_WINDOWS;_USRDLL;CUSTOMACTIONTEST_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks > EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary > MultiThreadedDebug</RuntimeLibrary>
2020-04-22 01:52:28 +08:00
<WarningLevel > Level4</WarningLevel>
2019-09-05 00:26:26 +08:00
<DebugInformationFormat > ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link >
<ModuleDefinitionFile > CustomAction.def</ModuleDefinitionFile>
<GenerateDebugInformation > true</GenerateDebugInformation>
<SubSystem > Windows</SubSystem>
<UACExecutionLevel > HighestAvailable</UACExecutionLevel>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<ClCompile >
<Optimization > MaxSpeed</Optimization>
<IntrinsicFunctions > true</IntrinsicFunctions>
<PreprocessorDefinitions > WIN64;NDEBUG;_WINDOWS;_USRDLL;CUSTOMACTIONTEST_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary > MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking > true</FunctionLevelLinking>
2020-04-22 01:52:28 +08:00
<WarningLevel > Level4</WarningLevel>
2019-09-05 00:26:26 +08:00
<DebugInformationFormat > ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link >
<ModuleDefinitionFile > CustomAction.def</ModuleDefinitionFile>
<GenerateDebugInformation > true</GenerateDebugInformation>
<SubSystem > Windows</SubSystem>
<OptimizeReferences > true</OptimizeReferences>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<TargetMachine > MachineX64</TargetMachine>
<UACExecutionLevel > HighestAvailable</UACExecutionLevel>
</Link>
</ItemDefinitionGroup>
2020-07-28 00:53:29 +08:00
<ItemDefinitionGroup Condition= "'$(CIBuild)'!='true'" >
2020-05-25 15:59:05 +08:00
<ClCompile >
<PrecompiledHeader > Use</PrecompiledHeader>
<PrecompiledHeaderFile > stdafx.h</PrecompiledHeaderFile>
</ClCompile>
2020-07-28 00:53:29 +08:00
</ItemDefinitionGroup>
2019-09-05 00:26:26 +08:00
<ItemGroup >
<ClCompile Include= "CustomAction.cpp" />
<ClCompile Include= "stdafx.cpp" >
2020-05-25 15:59:05 +08:00
<PrecompiledHeader Condition= "'$(CIBuild)'!='true'" > Create</PrecompiledHeader>
2019-09-05 00:26:26 +08:00
</ClCompile>
</ItemGroup>
<ItemGroup >
<None Include= "CustomAction.def" />
2019-10-10 03:21:21 +08:00
<None Include= "packages.config" />
2019-09-05 00:26:26 +08:00
</ItemGroup>
<ItemGroup >
2021-09-21 20:15:59 +08:00
<ClInclude Include= "..\PowerToysBootstrapper\bootstrapper\RcResource.h" />
<ClInclude Include= "resource.h" />
2019-09-05 00:26:26 +08:00
<ClInclude Include= "stdafx.h" />
<ClInclude Include= "Telemetry\ProjectTelemetry.h" />
<ClInclude Include= "Telemetry\TraceLoggingDefines.h" />
</ItemGroup>
2021-09-21 20:15:59 +08:00
<ItemGroup >
<ResourceCompile Include= "Resource.rc" />
</ItemGroup>
2019-09-05 00:26:26 +08:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
2019-10-10 03:21:21 +08:00
<ImportGroup Label= "ExtensionTargets" />
<Target Name= "EnsureNuGetPackageBuildImports" BeforeTargets= "PrepareForBuild" >
<PropertyGroup >
<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>
</PropertyGroup>
2019-12-09 16:03:07 +08:00
<Error Condition= "!Exists('..\packages\WiX.3.11.2\build\wix.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\packages\WiX.3.11.2\build\wix.props'))" />
2019-09-05 00:26:26 +08:00
</Target>
2021-09-21 20:15:59 +08:00
</Project>