PowerToys.MeasureToolCore.vcxproj
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <PropertyGroup Label="NuGet"> 4 <!-- Tell NuGet this is PackageReference style --> 5 <RestoreProjectStyle>PackageReference</RestoreProjectStyle> 6 7 <!-- Tell NuGet we're a native project --> 8 <NuGetTargetMoniker>native,Version=v0.0</NuGetTargetMoniker> 9 10 <!-- Tell NuGet we target Windows (use your existing WindowsTargetPlatformVersion) --> 11 <NuGetTargetPlatformIdentifier>Windows</NuGetTargetPlatformIdentifier> 12 <NuGetTargetPlatformVersion>$(WindowsTargetPlatformVersion)</NuGetTargetPlatformVersion> 13 </PropertyGroup> 14 <PropertyGroup Label="Globals"> 15 <CppWinRTOptimized>true</CppWinRTOptimized> 16 <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge> 17 <MinimalCoreWin>true</MinimalCoreWin> 18 <ProjectGuid>{54a93af7-60c7-4f6c-99d2-fbb1f75f853a}</ProjectGuid> 19 <ProjectName>PowerToys.MeasureToolCore</ProjectName> 20 <RootNamespace>PowerToys.MeasureToolCore</RootNamespace> 21 <!-- 22 $(TargetName) should be same as $(RootNamespace) so that the produced binaries (.exe/.pri/etc.) 23 have a name that matches the .winmd 24 --> 25 <TargetName>PowerToys.MeasureToolCore</TargetName> 26 <DefaultLanguage>en-US</DefaultLanguage> 27 <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion> 28 <AppContainerApplication>false</AppContainerApplication> 29 <AppxPackage>false</AppxPackage> 30 <ApplicationType>Windows Store</ApplicationType> 31 <ApplicationTypeRevision>10.0</ApplicationTypeRevision> 32 <UseWinUI>true</UseWinUI> 33 <WindowsAppSDKSelfContained>false</WindowsAppSDKSelfContained> 34 <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling> 35 </PropertyGroup> 36 <ItemGroup> 37 <PackageReference Include="Microsoft.WindowsAppSDK" GeneratePathProperty="true" /> 38 <PackageReference Include="Microsoft.Windows.CppWinRT" GeneratePathProperty="true" /> 39 <PackageReference Include="Microsoft.Windows.ImplementationLibrary" GeneratePathProperty="true" /> 40 </ItemGroup> 41 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 42 <PropertyGroup Label="Configuration"> 43 <ConfigurationType>DynamicLibrary</ConfigurationType> 44 <GenerateManifest>false</GenerateManifest> 45 <DesktopCompatible>true</DesktopCompatible> 46 </PropertyGroup> 47 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 48 <ImportGroup Label="ExtensionSettings"> 49 </ImportGroup> 50 <ImportGroup Label="PropertySheets"> 51 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 52 </ImportGroup> 53 <PropertyGroup Label="UserMacros" /> 54 <PropertyGroup> 55 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps\</OutDir> 56 </PropertyGroup> 57 <ItemDefinitionGroup> 58 <ClCompile> 59 <WarningLevel>Level4</WarningLevel> 60 <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions> 61 <AdditionalIncludeDirectories>$(RepoRoot)src\;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 62 </ClCompile> 63 <Link> 64 <SubSystem>Windows</SubSystem> 65 <GenerateWindowsMetadata>false</GenerateWindowsMetadata> 66 <ModuleDefinitionFile>MeasureTool.def</ModuleDefinitionFile> 67 <AdditionalDependencies>Dbghelp.lib;Shell32.lib;Shcore.lib;dcomp.lib;DXGI.lib;Dwmapi.lib;Gdi32.lib;%(AdditionalDependencies)</AdditionalDependencies> 68 </Link> 69 </ItemDefinitionGroup> 70 <ItemGroup> 71 <Manifest Include="app.manifest" /> 72 </ItemGroup> 73 <ItemGroup> 74 <None Include="MeasureToolCore.def" /> 75 </ItemGroup> 76 <ItemGroup> 77 <ClInclude Include="..\MeasureToolModuleInterface\trace.h" /> 78 <ClInclude Include="BoundsToolOverlayUI.h" /> 79 <ClInclude Include="Clipboard.h" /> 80 <ClInclude Include="CoordinateSystemConversion.h" /> 81 <ClInclude Include="constants.h" /> 82 <ClInclude Include="D2DState.h" /> 83 <ClInclude Include="DxgiAPI.h" /> 84 <ClInclude Include="Measurement.h" /> 85 <ClInclude Include="MeasureToolOverlayUI.h" /> 86 <ClInclude Include="PerGlyphOpacityTextRender.h" /> 87 <ClInclude Include="resource.h" /> 88 <ClInclude Include="Settings.h" /> 89 <ClInclude Include="PowerToys.MeasureToolCore.h"> 90 <DependentUpon>PowerToys.MeasureToolCore.idl</DependentUpon> 91 </ClInclude> 92 <ClInclude Include="BGRATextureView.h" /> 93 <ClInclude Include="EdgeDetection.h" /> 94 <ClInclude Include="ToolState.h" /> 95 <ClInclude Include="OverlayUI.h" /> 96 <ClInclude Include="pch.h" /> 97 <ClInclude Include="ScreenCapturing.h" /> 98 </ItemGroup> 99 <ItemGroup> 100 <ClCompile Include="..\MeasureToolModuleInterface\trace.cpp" /> 101 <ClCompile Include="BGRATextureView.cpp" /> 102 <ClCompile Include="BoundsToolOverlayUI.cpp" /> 103 <ClCompile Include="Clipboard.cpp" /> 104 <ClCompile Include="D2DState.cpp" /> 105 <ClCompile Include="DxgiAPI.cpp" /> 106 <ClCompile Include="EdgeDetection.cpp" /> 107 <ClCompile Include="Measurement.cpp" /> 108 <ClCompile Include="MeasureToolOverlayUI.cpp" /> 109 <ClCompile Include="OverlayUI.cpp" /> 110 <ClCompile Include="PerGlyphOpacityTextRender.cpp" /> 111 <ClCompile Include="PowerToys.MeasureToolCore.cpp"> 112 <DependentUpon>PowerToys.MeasureToolCore.idl</DependentUpon> 113 </ClCompile> 114 <ClCompile Include="pch.cpp"> 115 <PrecompiledHeader>Create</PrecompiledHeader> 116 </ClCompile> 117 <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" /> 118 <ClCompile Include="ScreenCapturing.cpp" /> 119 <ClCompile Include="Settings.cpp" /> 120 </ItemGroup> 121 <ItemGroup> 122 <Midl Include="PowerToys.MeasureToolCore.idl"> 123 <WarningLevel>2</WarningLevel> 124 <WarnAsError>true</WarnAsError> 125 </Midl> 126 </ItemGroup> 127 <ItemGroup> 128 <ProjectReference Include="$(RepoRoot)src\common\Display\Display.vcxproj"> 129 <Project>{caba8dfb-823b-4bf2-93ac-3f31984150d9}</Project> 130 </ProjectReference> 131 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 132 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 133 </ProjectReference> 134 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 135 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 136 </ProjectReference> 137 <ProjectReference Include="$(RepoRoot)src\common\Telemetry\EtwTrace\EtwTrace.vcxproj"> 138 <Project>{8f021b46-362b-485c-bfba-ccf83e820cbd}</Project> 139 </ProjectReference> 140 <ProjectReference Include="$(RepoRoot)src\common\Themes\Themes.vcxproj"> 141 <Project>{98537082-0fdb-40de-abd8-0dc5a4269bab}</Project> 142 </ProjectReference> 143 </ItemGroup> 144 <ItemGroup> 145 <ResourceCompile Include="PowerToys.MeasureToolCore.rc" /> 146 </ItemGroup> 147 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 148 <Import Project="$(RepoRoot)deps\spdlog.props" /> 149 </Project>