mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
Persist hardware-ID installation for the LGAudio WDK project and enable deployment in every existing solution configuration. This allows LGAudio to run as the kernel-debugger startup project.
110 lines
4.9 KiB
XML
110 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0"
|
|
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{02146E7A-FA7C-4071-8759-8B9A89452367}</ProjectGuid>
|
|
<RootNamespace>LGAudio</RootNamespace>
|
|
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
|
|
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
|
|
<Platform Condition="'$(Platform)' == ''">x64</Platform>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Label="Configuration">
|
|
<TargetVersion>Windows10</TargetVersion>
|
|
<DriverTargetPlatform>Universal</DriverTargetPlatform>
|
|
<!-- Windows 10 1709 (RS3), matching the INF model floor. -->
|
|
<_NT_TARGET_VERSION>0xA000004</_NT_TARGET_VERSION>
|
|
<DriverType>WDM</DriverType>
|
|
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
|
|
<ConfigurationType>Driver</ConfigurationType>
|
|
<Driver_SpectreMitigation>Spectre</Driver_SpectreMitigation>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'"
|
|
Label="Configuration">
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'"
|
|
Label="Configuration">
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings" />
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
|
|
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
|
|
Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup>
|
|
<TargetName>LGAudio</TargetName>
|
|
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
|
|
<InstallMode>HardwareId</InstallMode>
|
|
<HardwareIdString>Root\LGAudio</HardwareIdString>
|
|
<Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
|
|
<InfVerif_AdditionalOptions>/sw2084</InfVerif_AdditionalOptions>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\LGCommon;$(DDK_INC_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>_WIN32;_WIN32_WINNT=0x0A00;UNICODE;_UNICODE;PC_IMPLEMENTATION;_USE_WAVERT_;_NEW_DELETE_OPERATORS_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
<ExceptionHandling>false</ExceptionHandling>
|
|
</ClCompile>
|
|
<ResourceCompile>
|
|
<AdditionalIncludeDirectories>$(DDK_INC_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>_WIN32;_WIN32_WINNT=0x0A00;UNICODE;_UNICODE;PC_IMPLEMENTATION;_USE_WAVERT_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
<Link>
|
|
<AdditionalDependencies>portcls.lib;stdunk.lib;libcntpr.lib;wdmsec.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<DriverSign>
|
|
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
|
|
</DriverSign>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="Adapter.cpp" />
|
|
<ClCompile Include="AudioClock.cpp" />
|
|
<ClCompile Include="BrokerDevice.cpp" />
|
|
<ClCompile Include="Driver.cpp" />
|
|
<ClCompile Include="Formats.cpp" />
|
|
<ClCompile Include="Guids.cpp" />
|
|
<ClCompile Include="MiniportTopology.cpp" />
|
|
<ClCompile Include="MiniportWaveRT.cpp" />
|
|
<ClCompile Include="MiniportWaveRTStream.cpp" />
|
|
<ClCompile Include="RingBuffer.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="Adapter.h" />
|
|
<ClInclude Include="AudioClock.h" />
|
|
<ClInclude Include="BrokerDevice.h" />
|
|
<ClInclude Include="Common.h" />
|
|
<ClInclude Include="Formats.h" />
|
|
<ClInclude Include="Guids.h" />
|
|
<ClInclude Include="MiniportTopology.h" />
|
|
<ClInclude Include="MiniportWaveRT.h" />
|
|
<ClInclude Include="MiniportWaveRTStream.h" />
|
|
<ClInclude Include="RingBuffer.h" />
|
|
<ClInclude Include="..\LGCommon\LGAudioBroker.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Inf Include="LGAudio.inx" />
|
|
<ResourceCompile Include="LGAudio.rc" />
|
|
<FilesToPackage Include="$(TargetPath)" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets" />
|
|
</Project>
|