ShortcutGuide.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 <Target Name="GenerateResourceFiles" BeforeTargets="PrepareForBuild"> 6 <Exec Command="powershell -NonInteractive -executionpolicy Unrestricted $(RepoRoot)tools\build\convert-resx-to-rc.ps1 $(MSBuildThisFileDirectory) resource.base.h resource.h ShortcutGuide.base.rc ShortcutGuide.rc" /> 7 </Target> 8 <PropertyGroup Label="Globals"> 9 <CppWinRTOptimized>true</CppWinRTOptimized> 10 <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge> 11 <CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata> 12 <MinimalCoreWin>true</MinimalCoreWin> 13 <VCProjectVersion>15.0</VCProjectVersion> 14 <ProjectGuid>{2edb3eb4-fa92-4bff-b2d8-566584837231}</ProjectGuid> 15 <Keyword>Win32Proj</Keyword> 16 <RootNamespace>ShortcutGuide</RootNamespace> 17 </PropertyGroup> 18 <PropertyGroup Label="Configuration"> 19 <ConfigurationType>Application</ConfigurationType> 20 21 <PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset> 22 <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset> 23 <CharacterSet>Unicode</CharacterSet> 24 </PropertyGroup> 25 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> 26 <UseDebugLibraries>true</UseDebugLibraries> 27 <LinkIncremental>true</LinkIncremental> 28 </PropertyGroup> 29 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> 30 <UseDebugLibraries>false</UseDebugLibraries> 31 <WholeProgramOptimization>true</WholeProgramOptimization> 32 <LinkIncremental>false</LinkIncremental> 33 </PropertyGroup> 34 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 35 <ImportGroup Label="ExtensionSettings"> 36 </ImportGroup> 37 <ImportGroup Label="Shared"> 38 </ImportGroup> 39 <ImportGroup Label="PropertySheets"> 40 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 41 </ImportGroup> 42 <ImportGroup Label="PropertySheets"> 43 <Import Project="PropertySheet.props" /> 44 </ImportGroup> 45 <PropertyGroup Label="UserMacros" /> 46 <PropertyGroup> 47 <TargetName>PowerToys.$(MSBuildProjectName)</TargetName> 48 </PropertyGroup> 49 <PropertyGroup> 50 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir> 51 </PropertyGroup> 52 <ItemDefinitionGroup> 53 <ClCompile> 54 <AdditionalIncludeDirectories>;$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\;..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 55 </ClCompile> 56 <Link> 57 <AdditionalDependencies>ole32.lib;Shell32.lib;OleAut32.lib;Dbghelp.lib;Dwmapi.lib;Dcomp.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies> 58 </Link> 59 </ItemDefinitionGroup> 60 <ItemGroup> 61 <ClInclude Include="animation.h" /> 62 <ClInclude Include="d2d_svg.h" /> 63 <ClInclude Include="d2d_text.h" /> 64 <ClInclude Include="d2d_window.h" /> 65 <ClInclude Include="Generated Files\resource.h" /> 66 <ClInclude Include="native_event_waiter.h" /> 67 <ClInclude Include="overlay_window.h" /> 68 <ClInclude Include="pch.h" /> 69 <ClInclude Include="resource.base.h" /> 70 <ClInclude Include="ShortcutGuideSettings.h" /> 71 <ClInclude Include="ShortcutGuideConstants.h" /> 72 <ClInclude Include="shortcut_guide.h" /> 73 <ClInclude Include="start_visible.h" /> 74 <ClInclude Include="target_state.h" /> 75 <ClInclude Include="tasklist_positions.h" /> 76 <ClInclude Include="trace.h" /> 77 </ItemGroup> 78 <ItemGroup> 79 <ClCompile Include="animation.cpp" /> 80 <ClCompile Include="d2d_svg.cpp" /> 81 <ClCompile Include="d2d_text.cpp" /> 82 <ClCompile Include="d2d_window.cpp" /> 83 <ClCompile Include="main.cpp" /> 84 <ClCompile Include="native_event_waiter.cpp" /> 85 <ClCompile Include="overlay_window.cpp" /> 86 <ClCompile Include="pch.cpp"> 87 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 88 </ClCompile> 89 <ClCompile Include="shortcut_guide.cpp" /> 90 <ClCompile Include="start_visible.cpp" /> 91 <ClCompile Include="target_state.cpp" /> 92 <ClCompile Include="tasklist_positions.cpp" /> 93 <ClCompile Include="trace.cpp" /> 94 </ItemGroup> 95 <ItemGroup> 96 <None Include="packages.config" /> 97 <None Include="PropertySheet.props" /> 98 <CopyFileToFolders Include="Assets\ShortcutGuide\0.svg"> 99 <FileType>Document</FileType> 100 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 101 </CopyFileToFolders> 102 <CopyFileToFolders Include="Assets\ShortcutGuide\1.svg"> 103 <FileType>Document</FileType> 104 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 105 </CopyFileToFolders> 106 <CopyFileToFolders Include="Assets\ShortcutGuide\2.svg"> 107 <FileType>Document</FileType> 108 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 109 </CopyFileToFolders> 110 <CopyFileToFolders Include="Assets\ShortcutGuide\3.svg"> 111 <FileType>Document</FileType> 112 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 113 </CopyFileToFolders> 114 <CopyFileToFolders Include="Assets\ShortcutGuide\4.svg"> 115 <FileType>Document</FileType> 116 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 117 </CopyFileToFolders> 118 <CopyFileToFolders Include="Assets\ShortcutGuide\5.svg"> 119 <FileType>Document</FileType> 120 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 121 </CopyFileToFolders> 122 <CopyFileToFolders Include="Assets\ShortcutGuide\6.svg"> 123 <FileType>Document</FileType> 124 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 125 </CopyFileToFolders> 126 <CopyFileToFolders Include="Assets\ShortcutGuide\7.svg"> 127 <FileType>Document</FileType> 128 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 129 </CopyFileToFolders> 130 <CopyFileToFolders Include="Assets\ShortcutGuide\8.svg"> 131 <FileType>Document</FileType> 132 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 133 </CopyFileToFolders> 134 <CopyFileToFolders Include="Assets\ShortcutGuide\9.svg"> 135 <FileType>Document</FileType> 136 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 137 </CopyFileToFolders> 138 <CopyFileToFolders Include="Assets\ShortcutGuide\no_active_window.svg"> 139 <FileType>Document</FileType> 140 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 141 </CopyFileToFolders> 142 <CopyFileToFolders Include="Assets\ShortcutGuide\overlay.svg"> 143 <FileType>Document</FileType> 144 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 145 </CopyFileToFolders> 146 <CopyFileToFolders Include="Assets\ShortcutGuide\overlay_portrait.svg"> 147 <FileType>Document</FileType> 148 <DestinationFolders>$(OutDir)\Assets\ShortcutGuide</DestinationFolders> 149 </CopyFileToFolders> 150 </ItemGroup> 151 <ItemGroup> 152 <ProjectReference Include="$(RepoRoot)src\common\Display\Display.vcxproj"> 153 <Project>{caba8dfb-823b-4bf2-93ac-3f31984150d9}</Project> 154 </ProjectReference> 155 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 156 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 157 </ProjectReference> 158 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 159 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 160 </ProjectReference> 161 <ProjectReference Include="$(RepoRoot)src\common\Telemetry\EtwTrace\EtwTrace.vcxproj"> 162 <Project>{8f021b46-362b-485c-bfba-ccf83e820cbd}</Project> 163 </ProjectReference> 164 <ProjectReference Include="$(RepoRoot)src\common\Themes\Themes.vcxproj"> 165 <Project>{98537082-0fdb-40de-abd8-0dc5a4269bab}</Project> 166 </ProjectReference> 167 </ItemGroup> 168 <ItemGroup> 169 <EmbeddedResource Include="Resources.resx" /> 170 </ItemGroup> 171 <ItemGroup> 172 <ResourceCompile Include="Generated Files\ShortcutGuide.rc" /> 173 <None Include="ShortcutGuide.base.rc" /> 174 </ItemGroup> 175 <ItemGroup> 176 <Image Include="Shortcut-Guide.ico" /> 177 </ItemGroup> 178 <ItemGroup> 179 <Manifest Include="ShortcutGuide.exe.manifest" /> 180 </ItemGroup> 181 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 182 <Import Project="$(RepoRoot)deps\spdlog.props" /> 183 <ImportGroup Label="ExtensionTargets"> 184 <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')" /> 185 </ImportGroup> 186 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 187 <PropertyGroup> 188 <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> 189 </PropertyGroup> 190 <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'))" /> 191 <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'))" /> 192 </Target> 193 </Project>