/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/MeasureTool/MeasureToolCore/PowerToys.MeasureToolCore.vcxproj
149 строк
7 KB
Gordon Lam
build(common): update project references to use $(RepoRoot) for paths (#44639)
07 фев 2026, 03:12
Не верифицирован
07 фев 2026, 03:12
740dbf5
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Label="NuGet"> <!-- Tell NuGet this is PackageReference style --> <RestoreProjectStyle>PackageReference</RestoreProjectStyle> <!-- Tell NuGet we're a native project --> <NuGetTargetMoniker>native,Version=v0.0</NuGetTargetMoniker> <!-- Tell NuGet we target Windows (use your existing WindowsTargetPlatformVersion) --> <NuGetTargetPlatformIdentifier>Windows</NuGetTargetPlatformIdentifier> <NuGetTargetPlatformVersion>$(WindowsTargetPlatformVersion)</NuGetTargetPlatformVersion> </PropertyGroup> <PropertyGroup Label="Globals"> <CppWinRTOptimized>true</CppWinRTOptimized> <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge> <MinimalCoreWin>true</MinimalCoreWin> <ProjectGuid>{54a93af7-60c7-4f6c-99d2-fbb1f75f853a}</ProjectGuid> <ProjectName>PowerToys.MeasureToolCore</ProjectName> <RootNamespace>PowerToys.MeasureToolCore</RootNamespace> <!-- $(TargetName) should be same as $(RootNamespace) so that the produced binaries (.exe/.pri/etc.) have a name that matches the .winmd --> <TargetName>PowerToys.MeasureToolCore</TargetName> <DefaultLanguage>en-US</DefaultLanguage> <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion> <AppContainerApplication>false</AppContainerApplication> <AppxPackage>false</AppxPackage> <ApplicationType>Windows Store</ApplicationType> <ApplicationTypeRevision>10.0</ApplicationTypeRevision> <UseWinUI>true</UseWinUI> <WindowsAppSDKSelfContained>false</WindowsAppSDKSelfContained> <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.WindowsAppSDK" GeneratePathProperty="true" /> <PackageReference Include="Microsoft.Windows.CppWinRT" GeneratePathProperty="true" /> <PackageReference Include="Microsoft.Windows.ImplementationLibrary" GeneratePathProperty="true" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <GenerateManifest>false</GenerateManifest> <DesktopCompatible>true</DesktopCompatible> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </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" /> <PropertyGroup> <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps\</OutDir> </PropertyGroup> <ItemDefinitionGroup> <ClCompile> <WarningLevel>Level4</WarningLevel> <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions> <AdditionalIncludeDirectories>$(RepoRoot)src\;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> </ClCompile> <Link> <SubSystem>Windows</SubSystem> <GenerateWindowsMetadata>false</GenerateWindowsMetadata> <ModuleDefinitionFile>MeasureTool.def</ModuleDefinitionFile> <AdditionalDependencies>Dbghelp.lib;Shell32.lib;Shcore.lib;dcomp.lib;DXGI.lib;Dwmapi.lib;Gdi32.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> </ItemDefinitionGroup> <ItemGroup> <Manifest Include="app.manifest" /> </ItemGroup> <ItemGroup> <None Include="MeasureToolCore.def" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\MeasureToolModuleInterface\trace.h" /> <ClInclude Include="BoundsToolOverlayUI.h" /> <ClInclude Include="Clipboard.h" /> <ClInclude Include="CoordinateSystemConversion.h" /> <ClInclude Include="constants.h" /> <ClInclude Include="D2DState.h" /> <ClInclude Include="DxgiAPI.h" /> <ClInclude Include="Measurement.h" /> <ClInclude Include="MeasureToolOverlayUI.h" /> <ClInclude Include="PerGlyphOpacityTextRender.h" /> <ClInclude Include="resource.h" /> <ClInclude Include="Settings.h" /> <ClInclude Include="PowerToys.MeasureToolCore.h"> <DependentUpon>PowerToys.MeasureToolCore.idl</DependentUpon> </ClInclude> <ClInclude Include="BGRATextureView.h" /> <ClInclude Include="EdgeDetection.h" /> <ClInclude Include="ToolState.h" /> <ClInclude Include="OverlayUI.h" /> <ClInclude Include="pch.h" /> <ClInclude Include="ScreenCapturing.h" /> </ItemGroup> <ItemGroup> <ClCompile Include="..\MeasureToolModuleInterface\trace.cpp" /> <ClCompile Include="BGRATextureView.cpp" /> <ClCompile Include="BoundsToolOverlayUI.cpp" /> <ClCompile Include="Clipboard.cpp" /> <ClCompile Include="D2DState.cpp" /> <ClCompile Include="DxgiAPI.cpp" /> <ClCompile Include="EdgeDetection.cpp" /> <ClCompile Include="Measurement.cpp" /> <ClCompile Include="MeasureToolOverlayUI.cpp" /> <ClCompile Include="OverlayUI.cpp" /> <ClCompile Include="PerGlyphOpacityTextRender.cpp" /> <ClCompile Include="PowerToys.MeasureToolCore.cpp"> <DependentUpon>PowerToys.MeasureToolCore.idl</DependentUpon> </ClCompile> <ClCompile Include="pch.cpp"> <PrecompiledHeader>Create</PrecompiledHeader> </ClCompile> <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" /> <ClCompile Include="ScreenCapturing.cpp" /> <ClCompile Include="Settings.cpp" /> </ItemGroup> <ItemGroup> <Midl Include="PowerToys.MeasureToolCore.idl"> <WarningLevel>2</WarningLevel> <WarnAsError>true</WarnAsError> </Midl> </ItemGroup> <ItemGroup> <ProjectReference Include="$(RepoRoot)src\common\Display\Display.vcxproj"> <Project>{caba8dfb-823b-4bf2-93ac-3f31984150d9}</Project> </ProjectReference> <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> </ProjectReference> <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> </ProjectReference> <ProjectReference Include="$(RepoRoot)src\common\Telemetry\EtwTrace\EtwTrace.vcxproj"> <Project>{8f021b46-362b-485c-bfba-ccf83e820cbd}</Project> </ProjectReference> <ProjectReference Include="$(RepoRoot)src\common\Themes\Themes.vcxproj"> <Project>{98537082-0fdb-40de-abd8-0dc5a4269bab}</Project> </ProjectReference> </ItemGroup> <ItemGroup> <ResourceCompile Include="PowerToys.MeasureToolCore.rc" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(RepoRoot)deps\spdlog.props" /> </Project>