LightSwitchService.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 <ItemGroup Label="ProjectConfigurations"> 6 <ProjectConfiguration Include="Debug|x64"> 7 <Configuration>Debug</Configuration> 8 <Platform>x64</Platform> 9 </ProjectConfiguration> 10 <ProjectConfiguration Include="Release|x64"> 11 <Configuration>Release</Configuration> 12 <Platform>x64</Platform> 13 </ProjectConfiguration> 14 <ProjectConfiguration Include="Debug|ARM64"> 15 <Configuration>Debug</Configuration> 16 <Platform>ARM64</Platform> 17 </ProjectConfiguration> 18 <ProjectConfiguration Include="Release|ARM64"> 19 <Configuration>Release</Configuration> 20 <Platform>ARM64</Platform> 21 </ProjectConfiguration> 22 </ItemGroup> 23 <PropertyGroup Label="Globals"> 24 <VCProjectVersion>17.0</VCProjectVersion> 25 <Keyword>Win32Proj</Keyword> 26 <ProjectGuid>{08e71c67-6a7e-4ca1-b04e-2fb336410bac}</ProjectGuid> 27 <RootNamespace>LightSwitchService</RootNamespace> 28 <WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion> 29 <ProjectName>LightSwitchService</ProjectName> 30 </PropertyGroup> 31 32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 33 <ConfigurationType>Application</ConfigurationType> 34 <UseDebugLibraries>true</UseDebugLibraries> 35 36 <CharacterSet>Unicode</CharacterSet> 37 </PropertyGroup> 38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 39 <ConfigurationType>Application</ConfigurationType> 40 <UseDebugLibraries>false</UseDebugLibraries> 41 42 <WholeProgramOptimization>true</WholeProgramOptimization> 43 <CharacterSet>Unicode</CharacterSet> 44 </PropertyGroup> 45 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 46 <PropertyGroup> 47 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutDir> 48 <TargetName>PowerToys.LightSwitchService</TargetName> 49 </PropertyGroup> 50 <ItemDefinitionGroup> 51 <ClCompile> 52 <WarningLevel>Level3</WarningLevel> 53 <SDLCheck>true</SDLCheck> 54 <ConformanceMode>true</ConformanceMode> 55 <PrecompiledHeader>NotUsing</PrecompiledHeader> 56 <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> 57 <AdditionalIncludeDirectories> 58 ./../; 59 ..\LightSwitchLib; 60 ..\..\..\common; 61 $(RepoRoot)src\common\logger; 62 $(RepoRoot)src\common\utils; 63 $(RepoRoot)src\common\SettingsAPI; 64 $(RepoRoot)src\common\Telemetry; 65 $(RepoRoot)src\; 66 ..\..\..\..\deps\spdlog\include; 67 ./; 68 %(AdditionalIncludeDirectories) 69 </AdditionalIncludeDirectories> 70 </ClCompile> 71 <Link> 72 <SubSystem>Windows</SubSystem> 73 <GenerateDebugInformation>true</GenerateDebugInformation> 74 <AdditionalDependencies>Advapi32.lib;%(AdditionalDependencies)</AdditionalDependencies> 75 </Link> 76 </ItemDefinitionGroup> 77 <ItemGroup> 78 <ClCompile Include="LightSwitchService.cpp" /> 79 <ClCompile Include="LightSwitchSettings.cpp" /> 80 <ClCompile Include="LightSwitchStateManager.cpp" /> 81 <ClCompile Include="NightLightRegistryObserver.cpp" /> 82 <ClCompile Include="SettingsConstants.cpp" /> 83 <ClCompile Include="ThemeScheduler.cpp" /> 84 <ClCompile Include="trace.cpp" /> 85 <ClCompile Include="WinHookEventIDs.cpp" /> 86 </ItemGroup> 87 <ItemGroup> 88 <ResourceCompile Include="LightSwitchService.rc" /> 89 </ItemGroup> 90 <ItemGroup> 91 <ClInclude Include="LightSwitchSettings.h" /> 92 <ClInclude Include="LightSwitchStateManager.h" /> 93 <ClInclude Include="LightSwitchUtils.h" /> 94 <ClInclude Include="NightLightRegistryObserver.h" /> 95 <ClInclude Include="SettingsConstants.h" /> 96 <ClInclude Include="SettingsObserver.h" /> 97 <ClInclude Include="ThemeScheduler.h" /> 98 <ClInclude Include="trace.h" /> 99 <ClInclude Include="WinHookEventIDs.h" /> 100 </ItemGroup> 101 <ItemGroup> 102 <ProjectReference Include="$(RepoRoot)src\common\ManagedCommon\ManagedCommon.csproj"> 103 <Project>{4aed67b6-55fd-486f-b917-e543dee2cb3c}</Project> 104 </ProjectReference> 105 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 106 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 107 </ProjectReference> 108 <ProjectReference Include="$(RepoRoot)src\common\notifications\notifications.vcxproj"> 109 <Project>{1d5be09d-78c0-4fd7-af00-ae7c1af7c525}</Project> 110 </ProjectReference> 111 <ProjectReference Include="$(RepoRoot)src\common\Telemetry\EtwTrace\EtwTrace.vcxproj"> 112 <Project>{8f021b46-362b-485c-bfba-ccf83e820cbd}</Project> 113 </ProjectReference> 114 <ProjectReference Include="..\LightSwitchLib\LightSwitchLib.vcxproj"> 115 <Project>{79267138-2895-4346-9021-21408d65379f}</Project> 116 </ProjectReference> 117 </ItemGroup> 118 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 119 <Import Project="$(RepoRoot)deps\spdlog.props" /> 120 <ImportGroup Label="ExtensionTargets"> 121 <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')" /> 122 <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')" /> 123 </ImportGroup> 124 </Project>