Files
PowerToys/src/modules/Projects/ProjectsLauncher/ProjectsLauncher.vcxproj

166 lines
8.4 KiB
XML
Raw Normal View History

2024-05-21 16:55:15 +02:00
<?xml version="1.0" encoding="utf-8"?>
2024-06-12 17:12:40 +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')" />
<!-- 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:12:40 +02:00
<VCProjectVersion>16.0</VCProjectVersion>
2024-05-21 16:55:15 +02:00
<Keyword>Win32Proj</Keyword>
2024-06-12 17:12:40 +02:00
<ProjectGuid>{2cac093e-5fcf-4102-9c2c-ac7dd5d9eb96}</ProjectGuid>
2024-05-21 16:55:15 +02:00
<RootNamespace>ProjectsLauncher</RootNamespace>
</PropertyGroup>
2024-06-12 17:12:40 +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:12:40 +02:00
<SpectreMitigation>Spectre</SpectreMitigation>
2024-05-21 16:55:15 +02:00
</PropertyGroup>
2024-06-12 17:12:40 +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:12:40 +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:12:40 +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:12:40 +02:00
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
2024-06-12 21:45:39 +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:12:40 +02:00
<WarningLevel>Level3</WarningLevel>
2024-05-21 16:55:15 +02:00
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
2024-06-12 17:12:40 +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:12:40 +02:00
<SubSystem>Windows</SubSystem>
2024-05-21 16:55:15 +02:00
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
2024-06-12 17:12:40 +02:00
<GenerateDebugInformation>true</GenerateDebugInformation>
2024-06-12 21:45:39 +02:00
<AdditionalDependencies>shcore.lib;Shell32.lib;propsys.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies>
2024-05-21 16:55:15 +02:00
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="AppLauncher.cpp" />
<ClCompile Include="main.cpp" />
<ClCompile Include="pch.cpp">
2024-06-12 17:12:40 +02:00
<PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
2024-05-21 16:55:15 +02:00
</ClCompile>
</ItemGroup>
2024-06-12 17:12:40 +02:00
<ItemGroup>
<ClInclude Include="AppLauncher.h" />
<ClInclude Include="pch.h" />
2024-06-17 19:57:09 +02:00
<ClInclude Include="resource.h" />
2024-06-12 17:12:40 +02:00
</ItemGroup>
2024-05-21 16:55:15 +02:00
<ItemGroup>
<None Include="packages.config" />
2024-06-12 17:12:40 +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:12:40 +02:00
<ProjectReference Include="..\..\..\common\logger\logger.vcxproj">
<Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
</ProjectReference>
<ProjectReference Include="..\..\..\common\SettingsAPI\SettingsAPI.vcxproj">
<Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project>
</ProjectReference>
2024-05-21 16:55:15 +02:00
</ItemGroup>
2024-06-17 19:57:09 +02:00
<ItemGroup>
<ResourceCompile Include="ProjectLauncherResource.rc" />
</ItemGroup>
2024-05-21 16:55:15 +02:00
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
2024-06-12 17:12:40 +02:00
<Import Project="..\..\..\..\deps\spdlog.props" />
2024-05-21 16:55:15 +02:00
<ImportGroup Label="ExtensionTargets">
2024-06-12 17:12:40 +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:12:40 +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>