1 <?xml version="1.0" encoding="utf-8"?> 2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <ImportGroup Label="PropertySheets" /> 4 <PropertyGroup Label="UserMacros"> 5 <OpenCV_Bin>$(OPENCV_WINRT_INSTALL_DIR)\WS\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\bin\</OpenCV_Bin> 6 <OpenCV_Lib>$(OPENCV_WINRT_INSTALL_DIR)\WS\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\lib\</OpenCV_Lib> 7 <OpenCV_Include>$(OPENCV_WINRT_INSTALL_DIR)\WS\8.1\$(PlatformTarget)\include\</OpenCV_Include> 8 <!--debug suffix for OpenCV dlls and libs --> 9 <DebugSuffix Condition="'$(Configuration)'=='Debug'">d</DebugSuffix> 10 <DebugSuffix Condition="'$(Configuration)'!='Debug'"></DebugSuffix> 11 </PropertyGroup> 12 <ItemGroup> 13 <!--Add required OpenCV dlls here--> 14 <None Include="$(OpenCV_Bin)opencv_core300$(DebugSuffix).dll"> 15 <DeploymentContent>true</DeploymentContent> 16 </None> 17 <None Include="$(OpenCV_Bin)opencv_imgproc300$(DebugSuffix).dll"> 18 <DeploymentContent>true</DeploymentContent> 19 </None> 20 </ItemGroup> 21 <ItemDefinitionGroup> 22 <ClCompile> 23 <AdditionalIncludeDirectories>$(OpenCV_Include);$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories);</AdditionalIncludeDirectories> 24 </ClCompile> 25 <Link> 26 <!--Add required OpenCV libs here--> 27 <AdditionalDependencies>opencv_core300$(DebugSuffix).lib;opencv_imgproc300$(DebugSuffix).lib;%(AdditionalDependencies)</AdditionalDependencies> 28 <AdditionalLibraryDirectories>$(OpenCV_Lib);%(AdditionalLibraryDirectories);</AdditionalLibraryDirectories> 29 </Link> 30 </ItemDefinitionGroup> 31 </Project>