KeyboardManagerEngine.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 <CppWinRTOptimized>true</CppWinRTOptimized> 7 <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge> 8 <CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata> 9 <MinimalCoreWin>true</MinimalCoreWin> 10 <VCProjectVersion>15.0</VCProjectVersion> 11 <ProjectGuid>{ba661f5b-1d5a-4ffc-9bf1-fc39df280bdd}</ProjectGuid> 12 <Keyword>Win32Proj</Keyword> 13 <RootNamespace>KeyboardManagerEngine</RootNamespace> 14 </PropertyGroup> 15 <PropertyGroup Label="Configuration"> 16 <ConfigurationType>Application</ConfigurationType> 17 </PropertyGroup> 18 <PropertyGroup Label="Configuration"> 19 20 </PropertyGroup> 21 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 22 <ImportGroup Label="ExtensionSettings"> 23 </ImportGroup> 24 <ImportGroup Label="Shared"> 25 </ImportGroup> 26 <ImportGroup Label="PropertySheets"> 27 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 28 </ImportGroup> 29 <ImportGroup Label="PropertySheets"> 30 <Import Project="PropertySheet.props" /> 31 </ImportGroup> 32 <PropertyGroup Label="UserMacros" /> 33 <PropertyGroup> 34 <TargetName>PowerToys.$(MSBuildProjectName)</TargetName> 35 </PropertyGroup> 36 <PropertyGroup> 37 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\$(ProjectName)\</OutDir> 38 </PropertyGroup> 39 <ItemDefinitionGroup> 40 <ClCompile> 41 <AdditionalIncludeDirectories>$(RepoRoot)src\;$(RepoRoot)src\modules;$(RepoRoot)src\common\Telemetry;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 42 <PreprocessorDefinitions>EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 43 </ClCompile> 44 <Link> 45 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 46 <AdditionalDependencies>Shell32.lib;Shcore.lib;Dbghelp.lib;%(AdditionalDependencies)</AdditionalDependencies> 47 </Link> 48 </ItemDefinitionGroup> 49 <ItemGroup> 50 <ClInclude Include="pch.h" /> 51 <ClInclude Include="resource.h" /> 52 </ItemGroup> 53 <ItemGroup> 54 <ClCompile Include="main.cpp" /> 55 <ClCompile Include="pch.cpp"> 56 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 57 </ClCompile> 58 </ItemGroup> 59 <ItemGroup> 60 <None Include="packages.config" /> 61 <None Include="PropertySheet.props" /> 62 </ItemGroup> 63 <ItemGroup> 64 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 65 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 66 </ProjectReference> 67 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 68 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 69 </ProjectReference> 70 <ProjectReference Include="$(RepoRoot)src\common\Telemetry\EtwTrace\EtwTrace.vcxproj"> 71 <Project>{8f021b46-362b-485c-bfba-ccf83e820cbd}</Project> 72 </ProjectReference> 73 <ProjectReference Include="..\KeyboardManagerEngineLibrary\KeyboardManagerEngineLibrary.vcxproj"> 74 <Project>{e496b7fc-1e99-4bab-849b-0e8367040b02}</Project> 75 </ProjectReference> 76 </ItemGroup> 77 <ItemGroup> 78 <ResourceCompile Include="KeyboardManagerEngine.rc" /> 79 </ItemGroup> 80 <ItemGroup> 81 <Image Include="Keyboard.ico" /> 82 </ItemGroup> 83 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 84 <Import Project="$(RepoRoot)deps\spdlog.props" /> 85 <ImportGroup Label="ExtensionTargets"> 86 <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')" /> 87 </ImportGroup> 88 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 89 <PropertyGroup> 90 <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> 91 </PropertyGroup> 92 <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'))" /> 93 <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'))" /> 94 </Target> 95 </Project>