2019-09-05 00:26:26 +08:00
<?xml version="1.0" encoding="utf-8"?>
2022-05-30 17:38:36 +08:00
<Project ToolsVersion= "15.0" DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
2022-10-12 16:19:01 +08:00
<Import Project= "..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props" Condition= "Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props')" />
2022-07-01 04:10:14 +08:00
<Import Project= "..\wix.props" Condition= "Exists('..\wix.props')" />
2019-09-05 00:26:26 +08:00
<PropertyGroup Label= "Globals" >
<ProjectGuid > {32f3882b-f2d6-4586-b5ed-11e39e522bd3}</ProjectGuid>
<Keyword > Win32Proj</Keyword>
<RootNamespace > PowerToysSetupCustomActions</RootNamespace>
2022-07-01 04:10:14 +08:00
<WindowsTargetPlatformVersion > 10.0.19041.0</WindowsTargetPlatformVersion>
2022-01-06 02:28:09 +08:00
<ProjectName > PowerToysSetupCustomActions</ProjectName>
2019-09-05 00:26:26 +08:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2022-04-21 22:55:02 +08:00
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" Label= "Configuration" >
2019-09-05 00:26:26 +08:00
<ConfigurationType > DynamicLibrary</ConfigurationType>
<CharacterSet > Unicode</CharacterSet>
2022-02-07 22:08:30 +08:00
<PlatformToolset > v143</PlatformToolset>
2019-09-05 00:26:26 +08:00
</PropertyGroup>
2022-04-21 22:55:02 +08:00
<PropertyGroup Condition= "'$(Configuration)'=='Release'" Label= "Configuration" >
2019-09-05 00:26:26 +08:00
<ConfigurationType > DynamicLibrary</ConfigurationType>
<CharacterSet > Unicode</CharacterSet>
<WholeProgramOptimization > true</WholeProgramOptimization>
2022-02-07 22:08:30 +08:00
<PlatformToolset > v143</PlatformToolset>
2019-09-05 00:26:26 +08:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
2021-11-10 03:48:07 +08:00
<Import Project= "..\..\deps\spdlog.props" />
2019-09-05 00:26:26 +08:00
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
2022-04-21 22:55:02 +08:00
<ImportGroup Condition= "'$(Configuration)'=='Debug'" Label= "PropertySheets" >
2019-09-05 00:26:26 +08:00
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
2022-04-21 22:55:02 +08:00
<ImportGroup Condition= "'$(Configuration)'=='Release'" Label= "PropertySheets" >
2019-09-05 00:26:26 +08:00
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
2022-04-21 22:55:02 +08:00
<PropertyGroup >
2019-09-05 00:26:26 +08:00
<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>
2022-04-21 22:55:02 +08:00
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" >
<LinkIncremental > true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)'=='Release'" >
2019-09-05 00:26:26 +08:00
<LinkIncremental > false</LinkIncremental>
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 >
2022-05-30 17:38:36 +08:00
<AdditionalIncludeDirectories > inc;..\..\src\;..\..\src\common\Telemetry;telemetry;$(WixSdkPath)VS2017\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2021-09-21 20:15:59 +08:00
<AdditionalOptions > /await /Zc:twoPhase- /Wv:18 %(AdditionalOptions)</AdditionalOptions>
2022-04-21 22:55:02 +08:00
<WarningLevel > Level4</WarningLevel>
<DebugInformationFormat > ProgramDatabase</DebugInformationFormat>
2020-12-15 20:16:09 +08:00
</ClCompile>
<Link >
2022-01-06 02:28:09 +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;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
2022-04-21 22:55:02 +08:00
<ModuleDefinitionFile > CustomAction.def</ModuleDefinitionFile>
2020-12-15 20:16:09 +08:00
</Link>
</ItemDefinitionGroup>
2022-05-30 17:38:36 +08:00
<ItemDefinitionGroup >
2022-04-21 22:55:02 +08:00
<ClCompile >
<PreprocessorDefinitions > WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link >
2022-05-30 17:38:36 +08:00
<AdditionalLibraryDirectories > $(WixSdkPath)VS2017\lib\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
2022-04-21 22:55:02 +08:00
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Debug'" >
2019-09-05 00:26:26 +08:00
<ClCompile >
<Optimization > Disabled</Optimization>
2022-04-21 22:55:02 +08:00
<PreprocessorDefinitions > _DEBUG;_WINDOWS;_USRDLL;CUSTOMACTIONTEST_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2019-09-05 00:26:26 +08:00
<BasicRuntimeChecks > EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary > MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link >
<GenerateDebugInformation > true</GenerateDebugInformation>
<SubSystem > Windows</SubSystem>
<UACExecutionLevel > HighestAvailable</UACExecutionLevel>
</Link>
</ItemDefinitionGroup>
2022-04-21 22:55:02 +08:00
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Release'" >
2019-09-05 00:26:26 +08:00
<ClCompile >
<Optimization > MaxSpeed</Optimization>
<IntrinsicFunctions > true</IntrinsicFunctions>
2022-04-21 22:55:02 +08:00
<PreprocessorDefinitions > NDEBUG;_WINDOWS;_USRDLL;CUSTOMACTIONTEST_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2019-09-05 00:26:26 +08:00
<RuntimeLibrary > MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking > true</FunctionLevelLinking>
</ClCompile>
<Link >
<GenerateDebugInformation > true</GenerateDebugInformation>
<SubSystem > Windows</SubSystem>
<OptimizeReferences > true</OptimizeReferences>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<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 >
2022-01-06 02:28:09 +08:00
<ClInclude Include= "RcResource.h" />
2021-09-21 20:15:59 +08:00
<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>
2021-11-10 03:48:07 +08:00
<ItemGroup >
<ProjectReference Include= "..\..\src\common\logger\logger.vcxproj" >
<Project > {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
</ProjectReference>
</ItemGroup>
2019-09-05 00:26:26 +08:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
2022-07-01 04:10:14 +08:00
<ImportGroup Label= "ExtensionTargets" >
2022-10-12 16:19:01 +08:00
<Import Project= "..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets" Condition= "Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets')" />
2022-07-01 04:10:14 +08:00
</ImportGroup>
<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>
2022-10-12 16:19:01 +08:00
<Error Condition= "!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition= "!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets'))" />
2022-07-01 04:10:14 +08:00
</Target>
2021-09-21 20:15:59 +08:00
</Project>