LightSwitchModuleInterface.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 <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>15.0</VCProjectVersion> 25 <ProjectGuid>{38177d56-6ad1-4adf-88c9-2843a7932166}</ProjectGuid> 26 <Keyword>Win32Proj</Keyword> 27 <RootNamespace>LightSwitchModuleInterface</RootNamespace> 28 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> 29 <ProjectName>LightSwitchModuleInterface</ProjectName> 30 <TargetName>PowerToys.LightSwitchModuleInterface</TargetName> 31 </PropertyGroup> 32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 33 <ConfigurationType>DynamicLibrary</ConfigurationType> 34 <UseDebugLibraries>true</UseDebugLibraries> 35 <PlatformToolset>v142</PlatformToolset> 36 <CharacterSet>Unicode</CharacterSet> 37 </PropertyGroup> 38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 39 <ConfigurationType>DynamicLibrary</ConfigurationType> 40 <UseDebugLibraries>false</UseDebugLibraries> 41 <PlatformToolset>v142</PlatformToolset> 42 <WholeProgramOptimization>true</WholeProgramOptimization> 43 <CharacterSet>Unicode</CharacterSet> 44 </PropertyGroup> 45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> 46 <ConfigurationType>DynamicLibrary</ConfigurationType> 47 <UseDebugLibraries>true</UseDebugLibraries> 48 <PlatformToolset>v142</PlatformToolset> 49 <CharacterSet>Unicode</CharacterSet> 50 </PropertyGroup> 51 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> 52 <ConfigurationType>DynamicLibrary</ConfigurationType> 53 <UseDebugLibraries>false</UseDebugLibraries> 54 <PlatformToolset>v142</PlatformToolset> 55 <WholeProgramOptimization>true</WholeProgramOptimization> 56 <CharacterSet>Unicode</CharacterSet> 57 </PropertyGroup> 58 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 59 <ImportGroup Label="ExtensionSettings"> 60 </ImportGroup> 61 <ImportGroup Label="Shared"> 62 </ImportGroup> 63 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 65 </ImportGroup> 66 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 67 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 68 </ImportGroup> 69 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> 70 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 71 </ImportGroup> 72 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> 73 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 74 </ImportGroup> 75 <PropertyGroup Label="UserMacros" /> 76 <PropertyGroup> 77 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\</OutDir> 78 </PropertyGroup> 79 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 80 <LinkIncremental>true</LinkIncremental> 81 </PropertyGroup> 82 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 83 <LinkIncremental>false</LinkIncremental> 84 </PropertyGroup> 85 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 86 <ClCompile> 87 <PrecompiledHeader>Use</PrecompiledHeader> 88 <WarningLevel>Level3</WarningLevel> 89 <Optimization>Disabled</Optimization> 90 <SDLCheck>true</SDLCheck> 91 <PreprocessorDefinitions>_DEBUG;EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 92 <ConformanceMode>true</ConformanceMode> 93 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> 94 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 95 <LanguageStandard>stdcpplatest</LanguageStandard> 96 </ClCompile> 97 <Link> 98 <SubSystem>Windows</SubSystem> 99 <GenerateDebugInformation>true</GenerateDebugInformation> 100 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 101 </Link> 102 </ItemDefinitionGroup> 103 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 104 <ClCompile> 105 <PrecompiledHeader>Use</PrecompiledHeader> 106 <WarningLevel>Level3</WarningLevel> 107 <Optimization>MaxSpeed</Optimization> 108 <FunctionLevelLinking>true</FunctionLevelLinking> 109 <IntrinsicFunctions>true</IntrinsicFunctions> 110 <SDLCheck>true</SDLCheck> 111 <PreprocessorDefinitions>NDEBUG;EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 112 <ConformanceMode>true</ConformanceMode> 113 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> 114 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 115 <LanguageStandard>stdcpplatest</LanguageStandard> 116 </ClCompile> 117 <Link> 118 <SubSystem>Windows</SubSystem> 119 <EnableCOMDATFolding>true</EnableCOMDATFolding> 120 <OptimizeReferences>true</OptimizeReferences> 121 <GenerateDebugInformation>true</GenerateDebugInformation> 122 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 123 </Link> 124 </ItemDefinitionGroup> 125 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> 126 <ClCompile> 127 <PrecompiledHeader>Use</PrecompiledHeader> 128 <WarningLevel>Level3</WarningLevel> 129 <Optimization>Disabled</Optimization> 130 <SDLCheck>true</SDLCheck> 131 <PreprocessorDefinitions>_DEBUG;EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 132 <ConformanceMode>true</ConformanceMode> 133 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> 134 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 135 <LanguageStandard>stdcpplatest</LanguageStandard> 136 <PrecompiledHeader>Use</PrecompiledHeader> 137 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> 138 </ClCompile> 139 <Link> 140 <SubSystem>Windows</SubSystem> 141 <GenerateDebugInformation>true</GenerateDebugInformation> 142 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 143 </Link> 144 </ItemDefinitionGroup> 145 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> 146 <ClCompile> 147 <PrecompiledHeader>Use</PrecompiledHeader> 148 <WarningLevel>Level3</WarningLevel> 149 <Optimization>MaxSpeed</Optimization> 150 <FunctionLevelLinking>true</FunctionLevelLinking> 151 <IntrinsicFunctions>true</IntrinsicFunctions> 152 <SDLCheck>true</SDLCheck> 153 <PreprocessorDefinitions>NDEBUG;EXAMPLEPOWERTOY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 154 <ConformanceMode>true</ConformanceMode> 155 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> 156 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 157 <LanguageStandard>stdcpplatest</LanguageStandard> 158 </ClCompile> 159 <Link> 160 <SubSystem>Windows</SubSystem> 161 <EnableCOMDATFolding>true</EnableCOMDATFolding> 162 <OptimizeReferences>true</OptimizeReferences> 163 <GenerateDebugInformation>true</GenerateDebugInformation> 164 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 165 </Link> 166 </ItemDefinitionGroup> 167 <ItemDefinitionGroup> 168 <ClCompile> 169 <AdditionalIncludeDirectories>..\LightSwitchLib;$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;..\..\;$(RepoRoot)src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 170 </ClCompile> 171 </ItemDefinitionGroup> 172 <ItemGroup> 173 <ClInclude Include="pch.h" /> 174 <ClInclude Include="resource.h" /> 175 <ClInclude Include="trace.h" /> 176 </ItemGroup> 177 <ItemGroup> 178 <ClCompile Include="dllmain.cpp" /> 179 <ClCompile Include="ExportedFunctions.cpp" /> 180 <ClCompile Include="pch.cpp"> 181 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> 182 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> 183 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">Create</PrecompiledHeader> 184 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">Create</PrecompiledHeader> 185 <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">pch.h</PrecompiledHeaderFile> 186 <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">pch.h</PrecompiledHeaderFile> 187 <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">pch.h</PrecompiledHeaderFile> 188 <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">pch.h</PrecompiledHeaderFile> 189 </ClCompile> 190 <ClCompile Include="trace.cpp" /> 191 </ItemGroup> 192 <ItemGroup> 193 <ResourceCompile Include="LightSwitchModuleInterface.rc" /> 194 </ItemGroup> 195 <ItemGroup> 196 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 197 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 198 </ProjectReference> 199 <ProjectReference Include="$(RepoRoot)src\common\ManagedCommon\ManagedCommon.csproj"> 200 <Project>{4aed67b6-55fd-486f-b917-e543dee2cb3c}</Project> 201 </ProjectReference> 202 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 203 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 204 </ProjectReference> 205 <ProjectReference Include="..\LightSwitchLib\LightSwitchLib.vcxproj"> 206 <Project>{79267138-2895-4346-9021-21408d65379f}</Project> 207 </ProjectReference> 208 </ItemGroup> 209 <ItemGroup> 210 <None Include="packages.config" /> 211 </ItemGroup> 212 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 213 <Import Project="$(RepoRoot)deps\spdlog.props" /> 214 <ImportGroup Label="ExtensionTargets"> 215 <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')" /> 216 </ImportGroup> 217 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 218 <PropertyGroup> 219 <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> 220 </PropertyGroup> 221 <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'))" /> 222 <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'))" /> 223 </Target> 224 </Project>