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>
<WindowsTargetPlatformVersion > 10.0</WindowsTargetPlatformVersion>
</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>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<LinkIncremental > false</LinkIncremental>
<OutDir > $(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<ClCompile >
<Optimization > Disabled</Optimization>
2019-12-09 16:03:07 +08:00
<AdditionalIncludeDirectories > inc;telemetry;$(WIX)sdk\$(WixPlatformToolset)\inc;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2019-09-05 00:26:26 +08:00
<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>
2020-04-22 01:52:28 +08:00
<LanguageStandard > stdcpplatest</LanguageStandard>
<TreatWarningAsError > true</TreatWarningAsError>
2019-09-05 00:26:26 +08:00
</ClCompile>
<Link >
2020-05-15 00:20:06 +08:00
<AdditionalDependencies > Psapi.lib;Pathcch.lib;comsupp.lib;taskschd.lib;Secur32.lib;msi.lib;dutil.lib;wcautil.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
2019-12-09 16:03:07 +08:00
<AdditionalLibraryDirectories > $(WIX)sdk\$(WixPlatformToolset)\lib\x64;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\vs2017\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
2019-09-05 00:26:26 +08:00
<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>
2019-12-09 16:03:07 +08:00
<AdditionalIncludeDirectories > inc;telemetry;$(WIX)sdk\$(WixPlatformToolset)\inc;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2019-09-05 00:26:26 +08:00
<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>
2020-04-22 01:52:28 +08:00
<LanguageStandard > stdcpplatest</LanguageStandard>
<TreatWarningAsError > true</TreatWarningAsError>
2019-09-05 00:26:26 +08:00
</ClCompile>
<Link >
2020-05-15 00:20:06 +08:00
<AdditionalDependencies > Psapi.lib;Pathcch.lib;comsupp.lib;taskschd.lib;Secur32.lib;msi.lib;dutil.lib;wcautil.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
2019-12-09 16:03:07 +08:00
<AdditionalLibraryDirectories > $(WIX)sdk\$(WixPlatformToolset)\lib\x64;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\vs2017\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
2019-09-05 00:26:26 +08:00
<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-05-25 15:59:05 +08:00
<ItemDefinitionGroup Condition= "'$(CIBuild)'!='true'" >
<ClCompile >
<PrecompiledHeader > Use</PrecompiledHeader>
<PrecompiledHeaderFile > stdafx.h</PrecompiledHeaderFile>
</ClCompile>
</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 >
<ClInclude Include= "stdafx.h" />
<ClInclude Include= "Telemetry\ProjectTelemetry.h" />
<ClInclude Include= "Telemetry\TraceLoggingDefines.h" />
</ItemGroup>
<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>
</Project>