MeasureToolModuleInterface.vcxproj
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 4 <Import Project="$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" /> 5 <PropertyGroup Label="Globals"> 6 <VCProjectVersion>16.0</VCProjectVersion> 7 <ProjectGuid>{92C39820-9F84-4529-BC7D-22AAE514D63B}</ProjectGuid> 8 <Keyword>Win32Proj</Keyword> 9 <RootNamespace>MeasureToolModuleInterface</RootNamespace> 10 <ProjectName>MeasureToolModuleInterface</ProjectName> 11 </PropertyGroup> 12 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> 13 <ConfigurationType>DynamicLibrary</ConfigurationType> 14 <UseDebugLibraries>true</UseDebugLibraries> 15 16 <CharacterSet>Unicode</CharacterSet> 17 </PropertyGroup> 18 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> 19 <ConfigurationType>DynamicLibrary</ConfigurationType> 20 <UseDebugLibraries>false</UseDebugLibraries> 21 22 <WholeProgramOptimization>true</WholeProgramOptimization> 23 <CharacterSet>Unicode</CharacterSet> 24 </PropertyGroup> 25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 26 <ImportGroup Label="ExtensionSettings"> 27 </ImportGroup> 28 <ImportGroup Label="Shared"> 29 </ImportGroup> 30 <ImportGroup Label="PropertySheets"> 31 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 32 </ImportGroup> 33 <PropertyGroup Label="UserMacros" /> 34 <PropertyGroup> 35 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps\</OutDir> 36 <TargetName>PowerToys.MeasureToolModuleInterface</TargetName> 37 </PropertyGroup> 38 <PropertyGroup Condition="'$(Configuration)'=='Debug'"> 39 <LinkIncremental>true</LinkIncremental> 40 </PropertyGroup> 41 <PropertyGroup Condition="'$(Configuration)'=='Release'"> 42 <LinkIncremental>false</LinkIncremental> 43 </PropertyGroup> 44 <ItemDefinitionGroup> 45 <ClCompile> 46 <AdditionalIncludeDirectories>$(RepoRoot)src\;$(RepoRoot)src\modules;$(RepoRoot)src\common\Telemetry;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 47 </ClCompile> 48 </ItemDefinitionGroup> 49 <ItemGroup> 50 <ClInclude Include="MeasureTool.h" /> 51 <ClInclude Include="pch.h" /> 52 <ClInclude Include="resource.h" /> 53 <ClInclude Include="trace.h" /> 54 </ItemGroup> 55 <ItemGroup> 56 <ClCompile Include="dllmain.cpp" /> 57 <ClCompile Include="pch.cpp"> 58 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 59 </ClCompile> 60 <ClCompile Include="trace.cpp" /> 61 </ItemGroup> 62 <ItemGroup> 63 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 64 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 65 </ProjectReference> 66 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 67 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 68 </ProjectReference> 69 </ItemGroup> 70 <ItemGroup> 71 <ResourceCompile Include="MeasureToolModuleInterface.rc" /> 72 </ItemGroup> 73 <ItemGroup> 74 <None Include="packages.config" /> 75 </ItemGroup> 76 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 77 <Import Project="$(RepoRoot)deps\spdlog.props" /> 78 <ImportGroup Label="ExtensionTargets"> 79 <Import Project="$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" /> 80 </ImportGroup> 81 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 82 <PropertyGroup> 83 <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> 84 </PropertyGroup> 85 <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props'))" /> 86 <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets'))" /> 87 </Target> 88 </Project>