/ src / common / SettingsAPI / SettingsAPI.vcxproj
SettingsAPI.vcxproj
 1  <?xml version="1.0" encoding="utf-8"?>
 2  <Project DefaultTargets="Build" 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    
 6    <PropertyGroup Label="Globals">
 7      <VCProjectVersion>16.0</VCProjectVersion>
 8      <ProjectGuid>{6955446D-23F7-4023-9BB3-8657F904AF99}</ProjectGuid>
 9      <Keyword>Win32Proj</Keyword>
10      <RootNamespace>SettingsAPI</RootNamespace>
11      <ProjectName>SettingsAPI</ProjectName>
12    </PropertyGroup>
13    <PropertyGroup Label="Configuration">
14      <ConfigurationType>StaticLibrary</ConfigurationType>
15      
16    </PropertyGroup>
17    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
18    <ImportGroup Label="ExtensionSettings">
19    </ImportGroup>
20    <ImportGroup Label="Shared">
21    </ImportGroup>
22    <PropertyGroup Label="UserMacros" />
23    <ItemDefinitionGroup>
24      <ClCompile>
25        <AdditionalIncludeDirectories>..\;..\..\;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
26        <PreprocessorDefinitions>_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27      </ClCompile>
28    </ItemDefinitionGroup>
29    <ItemGroup>
30      <ClInclude Include="pch.h" />
31      <ClInclude Include="settings_helpers.h" />
32      <ClInclude Include="settings_objects.h" />
33      <ClInclude Include="FileWatcher.h" />
34    </ItemGroup>
35    <ItemGroup>
36      <ClCompile Include="settings_helpers.cpp" />
37      <ClCompile Include="settings_objects.cpp" />
38      <ClCompile Include="FileWatcher.cpp" />
39      <ClCompile Include="pch.cpp">
40        <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
41      </ClCompile>
42    </ItemGroup>
43    <ItemGroup>
44      <None Include="packages.config" />
45    </ItemGroup>
46    <ItemGroup>
47      <ProjectReference Include="..\..\common\version\version.vcxproj">
48        <Project>{cc6e41ac-8174-4e8a-8d22-85dd7f4851df}</Project>
49      </ProjectReference>
50      <ProjectReference Include="..\logger\logger.vcxproj">
51        <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
52      </ProjectReference>
53    </ItemGroup>
54    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
55    <Import Project="$(RepoRoot)deps\spdlog.props" />
56    <ImportGroup Label="ExtensionTargets">
57      <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')" />
58      <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')" />
59    </ImportGroup>
60    <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
61      <PropertyGroup>
62        <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>
63      </PropertyGroup>
64      <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'))" />
65      <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'))" />
66      <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'))" />
67    </Target>
68  </Project>