2024-05-21 16:55:15 +02:00
<?xml version="1.0" encoding="utf-8"?>
2024-06-12 17:24:50 +02:00
<Project ToolsVersion= "4.0" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<!-- Project configurations -->
<!-- Props that should be disabled while building on CI server -->
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" />
2024-07-04 11:43:12 +02:00
<Target Name= "GenerateResourceFiles" BeforeTargets= "PrepareForBuild" >
<Exec Command= "powershell -NonInteractive -executionpolicy Unrestricted $(SolutionDir)tools\build\convert-resx-to-rc.ps1 $(MSBuildThisFileDirectory) resource.base.h resource.h ProjectsSnapshotToolResources.base.rc ProjectsSnapshotToolResources.rc" />
</Target>
2024-06-12 17:24:50 +02:00
<!-- C++ source compile - specific things for all configurations -->
<ItemDefinitionGroup >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<ConformanceMode > false</ConformanceMode>
<TreatWarningAsError > true</TreatWarningAsError>
<LanguageStandard > stdcpplatest</LanguageStandard>
<AdditionalOptions > /await %(AdditionalOptions)</AdditionalOptions>
<PreprocessorDefinitions > _UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link >
<SubSystem > Windows</SubSystem>
</Link>
<Lib >
<TreatLibWarningAsErrors > true</TreatLibWarningAsErrors>
</Lib>
</ItemDefinitionGroup>
<!-- C++ source compile - specific things for Debug/Release configurations -->
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Debug'" >
<ClCompile >
<PreprocessorDefinitions > _DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization > Disabled</Optimization>
<SDLCheck > true</SDLCheck>
<RuntimeLibrary > MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link >
<GenerateDebugInformation > true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Release'" >
<ClCompile >
<PreprocessorDefinitions > NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization > MaxSpeed</Optimization>
<SDLCheck > false</SDLCheck>
<RuntimeLibrary > MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking > true</FunctionLevelLinking>
<IntrinsicFunctions > true</IntrinsicFunctions>
</ClCompile>
<Link >
<GenerateDebugInformation > true</GenerateDebugInformation>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<!-- Global props -->
2024-05-21 16:55:15 +02:00
<PropertyGroup Label= "Globals" >
2024-06-12 17:24:50 +02:00
<VCProjectVersion > 16.0</VCProjectVersion>
2024-05-21 16:55:15 +02:00
<Keyword > Win32Proj</Keyword>
2024-06-12 17:24:50 +02:00
<ProjectGuid > {3d63307b-9d27-44fd-b033-b26f39245b85}</ProjectGuid>
2024-05-21 16:55:15 +02:00
<RootNamespace > ProjectsSnapshotTool</RootNamespace>
</PropertyGroup>
2024-06-12 17:24:50 +02:00
<!-- Props that are constant for both Debug and Release configurations -->
2024-05-21 16:55:15 +02:00
<PropertyGroup Label= "Configuration" >
<ConfigurationType > Application</ConfigurationType>
<PlatformToolset > v143</PlatformToolset>
<CharacterSet > Unicode</CharacterSet>
2024-06-12 17:24:50 +02:00
<SpectreMitigation > Spectre</SpectreMitigation>
2024-05-21 16:55:15 +02:00
</PropertyGroup>
2024-06-12 17:24:50 +02:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2024-05-21 16:55:15 +02:00
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" Label= "Configuration" >
<UseDebugLibraries > true</UseDebugLibraries>
<LinkIncremental > true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)'=='Release'" Label= "Configuration" >
<UseDebugLibraries > false</UseDebugLibraries>
<WholeProgramOptimization > true</WholeProgramOptimization>
<LinkIncremental > false</LinkIncremental>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "Shared" >
</ImportGroup>
<ImportGroup Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
2024-06-12 17:24:50 +02:00
<PropertyGroup >
<TargetName > PowerToys.$(MSBuildProjectName)</TargetName>
<OutDir > ..\..\..\..\$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" >
<LinkIncremental > true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)'=='Release'" >
<LinkIncremental > false</LinkIncremental>
</PropertyGroup>
2024-05-21 16:55:15 +02:00
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Debug'" >
<ClCompile >
2024-06-12 17:24:50 +02:00
<WarningLevel > Level3</WarningLevel>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > _DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
<AdditionalIncludeDirectories > ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2024-05-21 16:55:15 +02:00
</ClCompile>
<Link >
2024-06-12 17:24:50 +02:00
<SubSystem > Windows</SubSystem>
<GenerateDebugInformation > true</GenerateDebugInformation>
2024-06-12 22:00:11 +02:00
<AdditionalDependencies > shcore.lib;Shell32.lib;propsys.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies>
2024-05-21 16:55:15 +02:00
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Release'" >
<ClCompile >
2024-06-12 17:24:50 +02:00
<WarningLevel > Level3</WarningLevel>
2024-05-21 16:55:15 +02:00
<FunctionLevelLinking > true</FunctionLevelLinking>
<IntrinsicFunctions > true</IntrinsicFunctions>
2024-06-12 17:24:50 +02:00
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
<AdditionalIncludeDirectories > ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2024-05-21 16:55:15 +02:00
</ClCompile>
<Link >
2024-06-12 17:24:50 +02:00
<SubSystem > Windows</SubSystem>
2024-05-21 16:55:15 +02:00
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
2024-06-12 17:24:50 +02:00
<GenerateDebugInformation > true</GenerateDebugInformation>
2024-06-12 22:00:11 +02:00
<AdditionalDependencies > shcore.lib;Shell32.lib;propsys.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies>
2024-05-21 16:55:15 +02:00
</Link>
</ItemDefinitionGroup>
2024-06-12 17:24:50 +02:00
<ItemGroup >
<ClCompile Include= "main.cpp" />
<ClCompile Include= "pch.cpp" >
<PrecompiledHeader Condition= "'$(UsePrecompiledHeaders)' != 'false'" > Create</PrecompiledHeader>
2024-05-21 16:55:15 +02:00
</ClCompile>
2024-07-03 14:50:39 +02:00
<ClCompile Include= "SnapshotUtils.cpp" />
2024-06-12 17:24:50 +02:00
</ItemGroup>
2024-05-21 16:55:15 +02:00
<ItemGroup >
2024-07-02 14:26:33 +02:00
<ClInclude Include= "JsonUtils.h" />
<ClInclude Include= "NameUtils.h" />
2024-05-21 16:55:15 +02:00
<ClInclude Include= "pch.h" />
2024-07-04 11:43:12 +02:00
<ClInclude Include= "resource.base.h" />
2024-07-03 14:50:39 +02:00
<ClInclude Include= "SnapshotUtils.h" />
2024-05-21 16:55:15 +02:00
</ItemGroup>
<ItemGroup >
2024-06-12 17:24:50 +02:00
<None Include= "packages.config" />
2024-05-21 16:55:15 +02:00
</ItemGroup>
<ItemGroup >
2024-06-12 19:31:43 +02:00
<ProjectReference Include= "..\..\..\common\Display\Display.vcxproj" >
<Project > {caba8dfb-823b-4bf2-93ac-3f31984150d9}</Project>
</ProjectReference>
2024-06-12 17:24:50 +02:00
<ProjectReference Include= "..\..\..\common\SettingsAPI\SettingsAPI.vcxproj" >
<Project > {6955446d-23f7-4023-9bb3-8657f904af99}</Project>
</ProjectReference>
2024-07-03 20:43:32 +02:00
<ProjectReference Include= "..\ProjectsLib\ProjectsLib.vcxproj" >
<Project > {b31fcc55-b5a4-4ea7-b414-2dceae6af332}</Project>
</ProjectReference>
2024-05-21 16:55:15 +02:00
</ItemGroup>
2024-06-17 19:57:09 +02:00
<ItemGroup >
2024-07-04 11:43:12 +02:00
<ResourceCompile Include= "Generated Files/ProjectsSnapshotToolResources.rc" />
<None Include= "ProjectsSnapshotToolResources.base.rc" />
</ItemGroup>
<ItemGroup >
<EmbeddedResource Include= "Resource.resx" />
2024-06-17 19:57:09 +02:00
</ItemGroup>
2024-05-21 16:55:15 +02:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
2024-06-12 17:24:50 +02:00
<Import Project= "..\..\..\..\deps\spdlog.props" />
2024-05-27 15:07:53 +02:00
<ImportGroup Label= "ExtensionTargets" >
2024-05-24 13:50:27 +02:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" />
2024-05-21 16:55:15 +02: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>
2024-06-12 17:24:50 +02:00
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets'))" />
2024-05-21 16:55:15 +02:00
</Target>
</Project>