KeyboardManagerEngineTest.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>{7f4b3a60-bc27-45a7-8000-68b0b6ea7466}</ProjectGuid> 8 <Keyword>Win32Proj</Keyword> 9 <RootNamespace>KeyboardManagerEngineTest</RootNamespace> 10 <ProjectSubType>NativeUnitTestProject</ProjectSubType> 11 <ProjectName>KeyboardManager.Engine.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\KeyboardManagerEngine\</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 <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> 39 </Link> 40 </ItemDefinitionGroup> 41 <ItemGroup> 42 <ClCompile Include="AppSpecificShortcutRemappingTests.cpp" /> 43 <ClCompile Include="MockedInputSanityTests.cpp" /> 44 <ClCompile Include="SetKeyEventTests.cpp" /> 45 <ClCompile Include="OSLevelShortcutRemappingTests.cpp" /> 46 <ClCompile Include="MockedInput.cpp" /> 47 <ClCompile Include="pch.cpp"> 48 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 49 </ClCompile> 50 <ClCompile Include="SingleKeyRemappingTests.cpp" /> 51 <ClCompile Include="TestHelpers.cpp" /> 52 </ItemGroup> 53 <ItemGroup> 54 <ClInclude Include="MockedInput.h" /> 55 <ClInclude Include="pch.h" /> 56 <ClInclude Include="resource.h" /> 57 <ClInclude Include="TestHelpers.h" /> 58 </ItemGroup> 59 <ItemGroup> 60 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 61 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 62 </ProjectReference> 63 <ProjectReference Include="..\common\KeyboardManagerCommon.vcxproj"> 64 <Project>{8affa899-0b73-49ec-8c50-0fadda57b2fc}</Project> 65 </ProjectReference> 66 <ProjectReference Include="..\KeyboardManagerEngineLibrary\KeyboardManagerEngineLibrary.vcxproj"> 67 <Project>{e496b7fc-1e99-4bab-849b-0e8367040b02}</Project> 68 </ProjectReference> 69 </ItemGroup> 70 <ItemGroup> 71 <None Include="packages.config" /> 72 </ItemGroup> 73 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 74 <ImportGroup Label="ExtensionTargets"> 75 <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')" /> 76 </ImportGroup> 77 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 78 <PropertyGroup> 79 <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> 80 </PropertyGroup> 81 <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'))" /> 82 <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'))" /> 83 </Target> 84 </Project>