/ src / modules / alwaysontop / AlwaysOnTopModuleInterface / AlwaysOnTopModuleInterface.vcxproj
AlwaysOnTopModuleInterface.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>{48A0A19E-A0BE-4256-ACF8-CC3B80291AF9}</ProjectGuid>
 8      <Keyword>Win32Proj</Keyword>
 9      <RootNamespace>alwaysontop</RootNamespace>
10      <ProjectName>AlwaysOnTopModuleInterface</ProjectName>
11    </PropertyGroup>
12    <PropertyGroup Label="Configuration">
13      <ConfigurationType>DynamicLibrary</ConfigurationType>
14      
15    </PropertyGroup>
16    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
17    <ImportGroup Label="ExtensionSettings">
18    </ImportGroup>
19    <ImportGroup Label="Shared" />
20    <ImportGroup Label="PropertySheets">
21      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
22    </ImportGroup>
23    <PropertyGroup Label="UserMacros" />
24    <PropertyGroup>
25      <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir>
26    </PropertyGroup>
27    <PropertyGroup>
28      <TargetName>PowerToys.AlwaysOnTopModuleInterface</TargetName>
29    </PropertyGroup>
30    <ItemDefinitionGroup>
31      <ClCompile>
32        <PreprocessorDefinitions>_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
33        <AdditionalIncludeDirectories>..\;$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;..\..\;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
34      </ClCompile>
35      <Link>
36        <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
37        <AdditionalDependencies>gdiplus.lib;dwmapi.lib;shlwapi.lib;uxtheme.lib;shcore.lib;%(AdditionalDependencies)</AdditionalDependencies>
38      </Link>
39    </ItemDefinitionGroup>
40    <ItemGroup>
41      <ClInclude Include="..\AlwaysOnTop\trace.h" />
42      <ClInclude Include="pch.h" />
43      <ClInclude Include="resource.h" />
44      <ClInclude Include="targetver.h" />
45    </ItemGroup>
46    <ItemGroup>
47      <ClCompile Include="..\AlwaysOnTop\trace.cpp" />
48      <ClCompile Include="dllmain.cpp" />
49      <ClCompile Include="pch.cpp">
50        <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
51      </ClCompile>
52    </ItemGroup>
53    <ItemGroup>
54      <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj">
55        <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
56      </ProjectReference>
57      <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj">
58        <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project>
59      </ProjectReference>
60    </ItemGroup>
61    <ItemGroup>
62      <None Include="packages.config" />
63    </ItemGroup>
64    <ItemGroup>
65      <ResourceCompile Include="AlwaysOnTopModuleInterface.rc" />
66    </ItemGroup>
67    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
68    <ImportGroup Label="ExtensionTargets">
69      <Import Project="$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.211019.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.211019.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
70      <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')" />
71      <Import Project="$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
72    </ImportGroup>
73    <Import Project="$(RepoRoot)deps\spdlog.props" />
74    <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
75      <PropertyGroup>
76        <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>
77      </PropertyGroup>
78      <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'))" />
79      <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'))" />
80      <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
81    </Target>
82  </Project>