KeyboardManagerCommon.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>{8AFFA899-0B73-49EC-8C50-0FADDA57B2FC}</ProjectGuid> 8 <RootNamespace>KeyboardManagerCommon</RootNamespace> 9 </PropertyGroup> 10 <PropertyGroup Label="Configuration"> 11 <ConfigurationType>StaticLibrary</ConfigurationType> 12 13 </PropertyGroup> 14 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 15 <ImportGroup Label="ExtensionSettings"> 16 </ImportGroup> 17 <ImportGroup Label="Shared"> 18 </ImportGroup> 19 <ImportGroup Label="PropertySheets"> 20 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 21 </ImportGroup> 22 <PropertyGroup Label="UserMacros" /> 23 <PropertyGroup> 24 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir> 25 </PropertyGroup> 26 <ItemDefinitionGroup> 27 <ClCompile> 28 <PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> 29 <AdditionalIncludeDirectories>..\;$(RepoRoot)src\;$(RepoRoot)src\common\telemetry;..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 30 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions> 31 </ClCompile> 32 <Lib> 33 <AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies> 34 </Lib> 35 <Link> 36 <SubSystem>Console</SubSystem> 37 </Link> 38 </ItemDefinitionGroup> 39 <ItemGroup> 40 <ClCompile Include="$(RepoRoot)src\common\interop\keyboard_layout.cpp" /> 41 <ClCompile Include="Helpers.cpp" /> 42 <ClCompile Include="KeyboardEventHandlers.cpp" /> 43 <ClCompile Include="MappingConfiguration.cpp" /> 44 <ClCompile Include="pch.cpp"> 45 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 46 </ClCompile> 47 <ClCompile Include="Shortcut.cpp" /> 48 </ItemGroup> 49 <ItemGroup> 50 <ClInclude Include="Input.h" /> 51 <ClInclude Include="KeyboardEventHandlers.h" /> 52 <ClInclude Include="MappingConfiguration.h" /> 53 <ClInclude Include="ModifierKey.h" /> 54 <ClInclude Include="InputInterface.h" /> 55 <ClInclude Include="Helpers.h" /> 56 <ClInclude Include="KeyboardManagerConstants.h" /> 57 <ClInclude Include="Modifiers.h" /> 58 <ClInclude Include="pch.h" /> 59 <ClInclude Include="RemapShortcut.h" /> 60 <ClInclude Include="Shortcut.h" /> 61 </ItemGroup> 62 <ItemGroup> 63 <ProjectReference Include="$(RepoRoot)src\common\COMUtils\COMUtils.vcxproj"> 64 <Project>{7319089e-46d6-4400-bc65-e39bdf1416ee}</Project> 65 </ProjectReference> 66 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 67 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 68 </ProjectReference> 69 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 70 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 71 </ProjectReference> 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>