CursorWrap.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 <VCProjectVersion>15.0</VCProjectVersion> 7 <ProjectGuid>{48a1db8c-5df8-4fb3-9e14-2b67f3f2d8b5}</ProjectGuid> 8 <Keyword>Win32Proj</Keyword> 9 <RootNamespace>CursorWrap</RootNamespace> 10 <ProjectName>CursorWrap</ProjectName> 11 </PropertyGroup> 12 <Import Project="$(RepoRoot)deps\spdlog.props" /> 13 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> 14 <ConfigurationType>DynamicLibrary</ConfigurationType> 15 <UseDebugLibraries>true</UseDebugLibraries> 16 17 <CharacterSet>Unicode</CharacterSet> 18 </PropertyGroup> 19 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> 20 <ConfigurationType>DynamicLibrary</ConfigurationType> 21 <UseDebugLibraries>false</UseDebugLibraries> 22 23 <WholeProgramOptimization>true</WholeProgramOptimization> 24 <CharacterSet>Unicode</CharacterSet> 25 </PropertyGroup> 26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 27 <ImportGroup Label="ExtensionSettings"> 28 </ImportGroup> 29 <ImportGroup Label="Shared"> 30 </ImportGroup> 31 <ImportGroup Label="PropertySheets"> 32 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 33 </ImportGroup> 34 <PropertyGroup Label="UserMacros" /> 35 <PropertyGroup> 36 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir> 37 <TargetName>PowerToys.CursorWrap</TargetName> 38 </PropertyGroup> 39 <PropertyGroup Condition="'$(Configuration)'=='Debug'"> 40 <LinkIncremental>true</LinkIncremental> 41 </PropertyGroup> 42 <PropertyGroup Condition="'$(Configuration)'=='Release'"> 43 <LinkIncremental>false</LinkIncremental> 44 </PropertyGroup> 45 <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> 46 <ClCompile> 47 <WarningLevel>Level3</WarningLevel> 48 <Optimization>Disabled</Optimization> 49 <SDLCheck>true</SDLCheck> 50 <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 51 <ConformanceMode>true</ConformanceMode> 52 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 53 <LanguageStandard>stdcpplatest</LanguageStandard> 54 </ClCompile> 55 <Link> 56 <SubSystem>Windows</SubSystem> 57 <GenerateDebugInformation>true</GenerateDebugInformation> 58 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 59 </Link> 60 </ItemDefinitionGroup> 61 <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> 62 <ClCompile> 63 <WarningLevel>Level3</WarningLevel> 64 <Optimization>MaxSpeed</Optimization> 65 <FunctionLevelLinking>true</FunctionLevelLinking> 66 <IntrinsicFunctions>true</IntrinsicFunctions> 67 <SDLCheck>true</SDLCheck> 68 <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 69 <ConformanceMode>true</ConformanceMode> 70 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 71 <LanguageStandard>stdcpplatest</LanguageStandard> 72 </ClCompile> 73 <Link> 74 <SubSystem>Windows</SubSystem> 75 <EnableCOMDATFolding>true</EnableCOMDATFolding> 76 <OptimizeReferences>true</OptimizeReferences> 77 <GenerateDebugInformation>true</GenerateDebugInformation> 78 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 79 </Link> 80 </ItemDefinitionGroup> 81 <ItemDefinitionGroup> 82 <ClCompile> 83 <AdditionalIncludeDirectories>$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;..\..\;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 84 </ClCompile> 85 </ItemDefinitionGroup> 86 <ItemGroup> 87 <ClInclude Include="CursorWrapCore.h" /> 88 <ClInclude Include="CursorWrapTests.h" /> 89 <ClInclude Include="MonitorTopology.h" /> 90 <ClInclude Include="pch.h" /> 91 <ClInclude Include="trace.h" /> 92 <ClInclude Include="resource.h" /> 93 </ItemGroup> 94 <ItemGroup> 95 <ClCompile Include="CursorWrapCore.cpp" /> 96 <ClCompile Include="dllmain.cpp" /> 97 <ClCompile Include="MonitorTopology.cpp" /> 98 <ClCompile Include="pch.cpp"> 99 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 100 </ClCompile> 101 <ClCompile Include="trace.cpp" /> 102 </ItemGroup> 103 <ItemGroup> 104 <ResourceCompile Include="CursorWrap.rc" /> 105 </ItemGroup> 106 <ItemGroup> 107 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 108 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 109 </ProjectReference> 110 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 111 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 112 </ProjectReference> 113 </ItemGroup> 114 <ItemGroup> 115 <None Include="COMPLETE_REWRITE_SUMMARY.md" /> 116 <None Include="CRITICAL_BUG_ANALYSIS.md" /> 117 <None Include="CURSOR_WRAP_FIX_ANALYSIS.md" /> 118 <None Include="DEBUG_GUIDE.md" /> 119 <None Include="packages.config" /> 120 <None Include="VERTICAL_WRAP_BUG_FIX.md" /> 121 </ItemGroup> 122 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 123 <ImportGroup Label="ExtensionTargets"> 124 <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')" /> 125 </ImportGroup> 126 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 127 <PropertyGroup> 128 <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> 129 </PropertyGroup> 130 <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'))" /> 131 <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'))" /> 132 </Target> 133 </Project>