KeyboardManagerEditorTest.vcxproj
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" 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>{62173D9A-6724-4C00-A1C8-FB646480A9EC}</ProjectGuid> 8 <Keyword>Win32Proj</Keyword> 9 <RootNamespace>KeyboardManagerEditorTest</RootNamespace> 10 <ProjectSubType>NativeUnitTestProject</ProjectSubType> 11 <ProjectName>KeyboardManager.Editor.UnitTests</ProjectName> 12 </PropertyGroup> 13 <PropertyGroup Label="Configuration"> 14 <ConfigurationType>DynamicLibrary</ConfigurationType> 15 </PropertyGroup> 16 <PropertyGroup Label="Configuration"> 17 18 </PropertyGroup> 19 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 20 <ImportGroup Label="ExtensionSettings"> 21 </ImportGroup> 22 <ImportGroup Label="Shared"> 23 </ImportGroup> 24 <ImportGroup Label="PropertySheets"> 25 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 26 </ImportGroup> 27 <PropertyGroup Label="UserMacros" /> 28 <PropertyGroup> 29 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\tests\KeyboardManagerEditor\</OutDir> 30 </PropertyGroup> 31 <ItemDefinitionGroup> 32 <ClCompile> 33 <AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;$(RepoRoot)src\;$(RepoRoot)src\modules;$(RepoRoot)src\common\Telemetry;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 34 <UseFullPaths>true</UseFullPaths> 35 </ClCompile> 36 <Link> 37 <AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 38 </Link> 39 </ItemDefinitionGroup> 40 <ItemGroup> 41 <ClCompile Include="BufferValidationTests.cpp" /> 42 <ClCompile Include="LoadingAndSavingRemappingTests.cpp" /> 43 <ClCompile Include="pch.cpp"> 44 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 45 </ClCompile> 46 <ClCompile Include="EditorHelpersTests.cpp" /> 47 </ItemGroup> 48 <ItemGroup> 49 <ClInclude Include="pch.h" /> 50 <ClInclude Include="resource.h" /> 51 </ItemGroup> 52 <ItemGroup> 53 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 54 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 55 </ProjectReference> 56 <ProjectReference Include="..\common\KeyboardManagerCommon.vcxproj"> 57 <Project>{8affa899-0b73-49ec-8c50-0fadda57b2fc}</Project> 58 </ProjectReference> 59 <ProjectReference Include="..\KeyboardManagerEditorLibrary\KeyboardManagerEditorLibrary.vcxproj"> 60 <Project>{23d2070d-e4ad-4add-85a7-083d9c76ad49}</Project> 61 </ProjectReference> 62 </ItemGroup> 63 <ItemGroup> 64 <ResourceCompile Include="KeyboardManagerEditorTest.rc" /> 65 </ItemGroup> 66 <ItemGroup> 67 <None Include="packages.config" /> 68 </ItemGroup> 69 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 70 <ImportGroup Label="ExtensionTargets"> 71 <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')" /> 72 </ImportGroup> 73 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 74 <PropertyGroup> 75 <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> 76 </PropertyGroup> 77 <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'))" /> 78 <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'))" /> 79 </Target> 80 </Project>