<?xml version="1.0" encoding="UTF-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <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">
    <DriverTargetPlatform >Universal</DriverTargetPlatform>
    <ProjectGuid>{8276EC69-6902-4583-A6DF-E5A35BF47646}</ProjectGuid>
    <Configuration>Debug</Configuration>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)Microsoft.Cpp.Default.props"/>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <TargetVersion>Windows10</TargetVersion>
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
    <ConfigurationType>Driver</ConfigurationType>
    <DriverType>KMDF</DriverType>
    <KMDF_VERSION_MAJOR>1</KMDF_VERSION_MAJOR>
    <KMDF_VERSION_MINOR>11</KMDF_VERSION_MINOR>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <TargetVersion>Windows10</TargetVersion>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
    <ConfigurationType>Driver</ConfigurationType>
    <DriverType>KMDF</DriverType>
    <KMDF_VERSION_MAJOR>1</KMDF_VERSION_MAJOR>
    <KMDF_VERSION_MINOR>11</KMDF_VERSION_MINOR>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    <!--modify on 9/25/2018 to solve DDK can't been built issue>
    <TargetVersion>Windows10</TargetVersion>
	<-->
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
    <ConfigurationType>Driver</ConfigurationType>
    <DriverType>KMDF</DriverType>
	<!--modify on 9/25/2018 to solve DDK can't been built issue>
    <KMDF_VERSION_MAJOR>1</KMDF_VERSION_MAJOR>
    <KMDF_VERSION_MINOR>11</KMDF_VERSION_MINOR>
	<-->
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    <!--modify on 9/25/2018 to solve DDK can't been built issue>
    <TargetVersion>Windows10</TargetVersion>
	<-->
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
    <ConfigurationType>Driver</ConfigurationType>
    <DriverType>KMDF</DriverType>
	<!--modify on 9/25/2018 to solve DDK can't been built issue>
    <KMDF_VERSION_MAJOR>1</KMDF_VERSION_MAJOR>
    <KMDF_VERSION_MINOR>11</KMDF_VERSION_MINOR>
	<-->
  </PropertyGroup>
  <PropertyGroup Label="Globals">
    <TARGETNAME>Sample</TARGETNAME>
    <RunCodeAnalysis>false</RunCodeAnalysis>
  </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 Condition="'$(Configuration)|$(Platform)' == 'Debug|Win32'">
    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
    <EnableInf2cat>flase</EnableInf2cat>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|Win32'">
    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
    <EnableInf2cat>flase</EnableInf2cat>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
    <EnableInf2cat>flase</EnableInf2cat>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
    <EnableInf2cat>flase</EnableInf2cat>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|Win32'">
    <ClCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_WIN2K_COMPAT_SLIST_USAGE;RESHUB_USE_HELPER_ROUTINES;$(INPUT_SYSTEM);</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>.\;.\skc;..\common\;..\common\inc;..\common\libiss\libinc;..\common\libiss\src\nvram;..\common\libiss\src\vcm;..\..\include;..\..\include\Skycam;..\..\include\nvm;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <TreatWarningAsError>True</TreatWarningAsError>
      <WppEnabled>true</WppEnabled>
      <WppKernelMode>true</WppKernelMode>
      <WppScanConfigurationData>SensorTrace.h</WppScanConfigurationData>
      <WppTraceFunction>DoTraceLevelMessage(LEVEL,FLAGS,MSG,...)</WppTraceFunction>
      <AdditionalOptions>/kernel %(AdditionalOptions)</AdditionalOptions>
      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
    </ClCompile>
    <Link Condition="'$(PLAT_FORM)' == 'SKYCAM'">
      <AdditionalDependencies>ntstrsafe.lib;common.lib;vcm.lib;nvram.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
      <AdditionalLibraryDirectories>..\..\Lib\$(PLAT_FORM)\$(Configuration)\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    <Link Condition="'$(PLAT_FORM)' != 'SKYCAM'">
      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Release|Win32'">
    <ClCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_WIN2K_COMPAT_SLIST_USAGE;RESHUB_USE_HELPER_ROUTINES;$(INPUT_SYSTEM);</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>.\;.\skc;..\common\;..\common\inc;..\common\libiss\libinc;..\common\libiss\src\nvram;..\common\libiss\src\vcm;..\..\include;..\..\include\Skycam;..\..\include\nvm;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <TreatWarningAsError>True</TreatWarningAsError>
      <WppEnabled>true</WppEnabled>
      <WppKernelMode>true</WppKernelMode>
      <WppScanConfigurationData>SensorTrace.h</WppScanConfigurationData>
      <WppTraceFunction>DoTraceLevelMessage(LEVEL,FLAGS,MSG,...)</WppTraceFunction>
      <AdditionalOptions>/kernel %(AdditionalOptions)</AdditionalOptions>
      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
    </ClCompile>
    <Link Condition="'$(PLAT_FORM)' == 'SKYCAM'">
      <AdditionalDependencies>ntstrsafe.lib;common.lib;vcm.lib;nvram.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
      <AdditionalLibraryDirectories>..\..\Lib\$(PLAT_FORM)\$(Configuration)\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    <Link Condition="'$(PLAT_FORM)' != 'SKYCAM'">
      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    <ClCompile>
      <PreprocessorDefinitions Condition="$(PLAT_FORM.Contains('cnl'))">CNL;OTM_SENSOR_CONTROL_LOGIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>   
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_WIN2K_COMPAT_SLIST_USAGE;RESHUB_USE_HELPER_ROUTINES;$(INPUT_SYSTEM);</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>.\;.\skc;..\common\;..\common\inc;..\common\libiss\libinc;..\common\libiss\src\nvram;..\common\libiss\src\vcm;..\..\include;..\..\include\Skycam;..\..\include\nvm;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <TreatWarningAsError>True</TreatWarningAsError>
      <WppEnabled>true</WppEnabled>
      <WppKernelMode>true</WppKernelMode>
      <WppScanConfigurationData>SensorTrace.h</WppScanConfigurationData>
      <WppTraceFunction>DoTraceLevelMessage(LEVEL,FLAGS,MSG,...)</WppTraceFunction>
      <AdditionalOptions>/kernel %(AdditionalOptions)</AdditionalOptions>
      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
    </ClCompile>
    <Link>
      <AdditionalDependencies>ntstrsafe.lib;common.lib;vcm.lib;nvram.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
      <AdditionalLibraryDirectories>..\..\Lib\$(PLAT_FORM)\$(Configuration)\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    <!--
    <Link Condition="'$(PLAT_FORM)' == 'cnlB0'">
      <AdditionalDependencies>ntstrsafe.lib;common.lib;vcm.lib;nvram.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
      <AdditionalLibraryDirectories>..\..\Lib\$(PLAT_FORM)\$(Configuration)\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    -->
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    <ClCompile> 
      <PreprocessorDefinitions Condition="$(PLAT_FORM.Contains('cnl'))">CNL;OTM_SENSOR_CONTROL_LOGIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_WIN2K_COMPAT_SLIST_USAGE;RESHUB_USE_HELPER_ROUTINES;$(INPUT_SYSTEM);</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>.\;.\skc;..\common\;..\common\inc;..\common\libiss\libinc;..\common\libiss\src\nvram;..\common\libiss\src\vcm;..\..\include;..\..\include\Skycam;..\..\include\nvm;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <TreatWarningAsError>True</TreatWarningAsError>
      <WppEnabled>true</WppEnabled>
      <WppKernelMode>true</WppKernelMode>
      <WppScanConfigurationData>SensorTrace.h</WppScanConfigurationData>
      <WppTraceFunction>DoTraceLevelMessage(LEVEL,FLAGS,MSG,...)</WppTraceFunction>
      <AdditionalOptions>/kernel %(AdditionalOptions)</AdditionalOptions>
      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
    </ClCompile>
    <Link>
      <AdditionalDependencies>ntstrsafe.lib;common.lib;vcm.lib;nvram.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
      <AdditionalLibraryDirectories>..\..\Lib\$(PLAT_FORM)\$(Configuration)\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    <!--
    <Link Condition="'$(PLAT_FORM)' == 'cnlB0'">
      <AdditionalDependencies>ntstrsafe.lib;common.lib;vcm.lib;nvram.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <TreatLinkerWarningAsErrors>false</TreatLinkerWarningAsErrors>
      <AdditionalLibraryDirectories>..\..\Lib\$(PLAT_FORM)\$(Configuration)\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    -->
  </ItemDefinitionGroup>
  <ItemGroup Condition="'$(PLAT_FORM)' == 'SKYCAM'">
    <FilesToPackage Include=".\skc\*.cpf">
      <PackageRelativeDirectory/>
    </FilesToPackage>
    <FilesToPackage Include=".\skc\*.bin">
      <PackageRelativeDirectory/>
    </FilesToPackage>
    <FilesToPackage Include="$(TargetPath)"/>
  </ItemGroup>
  <ItemGroup Condition="'$(PLAT_FORM)' == 'cnlB0'">
    <FilesToPackage Include=".\*.cpf">
      <PackageRelativeDirectory/>
    </FilesToPackage>
    <FilesToPackage Include="$(TargetPath)"/>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\common\libiss\src\nvram\nvram_map.c"/>
    <ClCompile Include="..\common\libiss\src\vcm\vcm_map.c"/>
    <ClCompile Include="..\common\libiss\src\Sssensor.c"/>
    <ClCompile Include="Sample.c"/>
  </ItemGroup>
  <ItemGroup Condition="'$(PLAT_FORM)' == 'SKYCAM'">
    <ClCompile Include="Sample_skc.c"/>
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="Sample.rc"/>
  </ItemGroup>
  <ItemGroup Condition="'$(PLAT_FORM)' == 'cnlB0'">
    <Inf Include="Sample.inx">
      <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>
      <DriverVerDirectiveVersion>*</DriverVerDirectiveVersion>
      <TimeStamp>*</TimeStamp>
      <SpecifyDriverVerDirectiveDate>true</SpecifyDriverVerDirectiveDate>
      <DriverVerDirectiveDate>*</DriverVerDirectiveDate>
      <DateStamp>*</DateStamp>
      <SpecifyArchitecture>true</SpecifyArchitecture>
      <Architecture Condition="'$(Platform)' == 'Win32'">x86</Architecture>
      <Architecture Condition="'$(Platform)' == 'x64'">amd64</Architecture>
    </Inf>
  </ItemGroup>
  <ItemGroup Condition="'$(PLAT_FORM)' == 'SKYCAM'">
    <Inf Include=".\skc\Sample.inx">
      <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>
      <DriverVerDirectiveVersion>*</DriverVerDirectiveVersion>
      <TimeStamp>*</TimeStamp>
      <SpecifyDriverVerDirectiveDate>true</SpecifyDriverVerDirectiveDate>
      <DriverVerDirectiveDate>*</DriverVerDirectiveDate>
      <DateStamp>*</DateStamp>
      <SpecifyArchitecture>true</SpecifyArchitecture>
      <Architecture Condition="'$(Platform)' == 'Win32'">x86</Architecture>
      <Architecture Condition="'$(Platform)' == 'x64'">amd64</Architecture>
    </Inf>
  </ItemGroup>
  <Import Project="$(VCTargetsPath)Microsoft.Cpp.targets"/>
  <ImportGroup Label="ExtensionTargets"/>
</Project>
