CmdPalModuleInterface.vcxproj
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" 3 xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 4 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 5 <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')" /> 6 <Import Project="..\Microsoft.CmdPal.UI\CmdPal.pre.props" Condition="Exists('..\Microsoft.CmdPal.UI\CmdPal.pre.props')" /> 7 <PropertyGroup Label="Globals"> 8 <VCProjectVersion>17.0</VCProjectVersion> 9 <Keyword>Win32Proj</Keyword> 10 <ProjectGuid>{0adeb797-c8c7-4ffa-acd5-2af6cad7ecd8}</ProjectGuid> 11 <RootNamespace>CmdPalModuleInterface</RootNamespace> 12 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> 13 <TargetName>PowerToys.CmdPalModuleInterface</TargetName> 14 </PropertyGroup> 15 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> 16 <ConfigurationType>DynamicLibrary</ConfigurationType> 17 <UseDebugLibraries>true</UseDebugLibraries> 18 19 <CharacterSet>Unicode</CharacterSet> 20 </PropertyGroup> 21 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> 22 <ConfigurationType>DynamicLibrary</ConfigurationType> 23 <UseDebugLibraries>false</UseDebugLibraries> 24 25 <WholeProgramOptimization>true</WholeProgramOptimization> 26 <CharacterSet>Unicode</CharacterSet> 27 </PropertyGroup> 28 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 29 <ImportGroup Label="ExtensionSettings"> 30 </ImportGroup> 31 <ImportGroup Label="Shared"> 32 </ImportGroup> 33 <ImportGroup Label="PropertySheets"> 34 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 35 </ImportGroup> 36 <PropertyGroup Label="UserMacros" /> 37 <PropertyGroup> 38 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir> 39 </PropertyGroup> 40 <ItemGroup> 41 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 42 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 43 </ProjectReference> 44 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 45 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 46 </ProjectReference> 47 </ItemGroup> 48 <ItemDefinitionGroup> 49 <ClCompile> 50 <PreprocessorDefinitions> 51 EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL; 52 %(PreprocessorDefinitions); 53 </PreprocessorDefinitions> 54 <PreprocessorDefinitions Condition="'$(CommandPaletteBranding)'=='' or '$(CommandPaletteBranding)'=='Dev'"> 55 IS_DEV_BRANDING;%(PreprocessorDefinitions) 56 </PreprocessorDefinitions> 57 <AdditionalIncludeDirectories>$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;..\..\;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 58 </ClCompile> 59 <Link> 60 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 61 </Link> 62 </ItemDefinitionGroup> 63 64 <ItemGroup> 65 <ClInclude Include="pch.h" /> 66 </ItemGroup> 67 <ItemGroup> 68 <ClCompile Include="dllmain.cpp" /> 69 <ClCompile Include="pch.cpp"> 70 <PrecompiledHeader>Create</PrecompiledHeader> 71 </ClCompile> 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>