Skip to content

Commit

Permalink
Update ProdScan and WiaDriver samples (#824)
Browse files Browse the repository at this point in the history
Update ProdScan and WiaDriver samples to target a single architecture.
  • Loading branch information
alexke-dev authored Jan 7, 2023
1 parent 7092f6d commit 568ddda
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 202 deletions.
79 changes: 0 additions & 79 deletions wia/ProdScan/ProdScan.inf

This file was deleted.

Binary file added wia/ProdScan/ProdScan.inx
Binary file not shown.
9 changes: 8 additions & 1 deletion wia/ProdScan/ProdScan.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ItemGroup Label="WrappedTaskItems" />
<ItemGroup Label="WrappedTaskItems">
<Inf Include="ProdScan.inx">
<Architecture>$(InfArch)</Architecture>
<SpecifyArchitecture>true</SpecifyArchitecture>
<Verbose>true</Verbose>
<CopyOutput>.\$(IntDir)\ProdScan.inf</CopyOutput>
</Inf>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>ProdScan</TargetName>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions wia/copywia.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ copy wiadriverex\segfilter\%build_samples%\%cpu_samples%\segfilter.dll %1wiabi
copy wiadriverex\imgfilter\%build_samples%\%cpu_samples%\imgfilter.dll %1wiabins\drivers
copy wiadriverex\errhandler\%build_samples%\%cpu_samples%\errhandler.dll %1wiabins\drivers
copy wiadriverex\uiext2\%build_samples%\%cpu_samples%\uiext2.dll %1wiabins\drivers
copy wiadriverex\wiadriver.inf %1wiabins\drivers
copy wiadriverex\usd\%build_samples%\%cpu_samples%\wiadriver.inf %1wiabins\drivers
copy wiadriverex\sample.bmp %1wiabins\drivers

copy prodscan\%build_samples%\%cpu_samples%\prodscan.dll %1wiabins\drivers
copy prodscan\prodscan.inf %1wiabins\drivers
copy prodscan\%build_samples%\%cpu_samples%\prodscan.inf %1wiabins\drivers

copy "%build_tools%\%cpu_tools%\wiainfo2.exe" %1wiabins
copy "%build_tools%\%cpu_tools%\wiatrcvw.exe" %1wiabins
Expand Down
Binary file added wia/wiadriverex/usd/WiaDriver.inx
Binary file not shown.
9 changes: 8 additions & 1 deletion wia/wiadriverex/usd/wiadriverex.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ItemGroup Label="WrappedTaskItems" />
<ItemGroup Label="WrappedTaskItems">
<Inf Include="WiaDriver.inx">
<Architecture>$(InfArch)</Architecture>
<SpecifyArchitecture>true</SpecifyArchitecture>
<Verbose>true</Verbose>
<CopyOutput>.\$(IntDir)\WiaDriver.inf</CopyOutput>
</Inf>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>wiadriverex</TargetName>
</PropertyGroup>
Expand Down
119 changes: 0 additions & 119 deletions wia/wiadriverex/wiadriver.inf

This file was deleted.

0 comments on commit 568ddda

Please sign in to comment.