opencv.props 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. <Runtime Condition="'$(ApplicationType)'=='Windows Phone'">WP</Runtime>
  6. <Runtime Condition="'$(ApplicationType)'=='Windows Store'">WS</Runtime>
  7. <OpenCV_Bin>$(OPENCV_WINRT_INSTALL_DIR)\$(Runtime)\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\bin\</OpenCV_Bin>
  8. <OpenCV_Lib>$(OPENCV_WINRT_INSTALL_DIR)\$(Runtime)\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\lib\</OpenCV_Lib>
  9. <OpenCV_Include>$(OPENCV_WINRT_INSTALL_DIR)\$(Runtime)\8.1\$(PlatformTarget)\include\</OpenCV_Include>
  10. <!--debug suffix for OpenCV dlls and libs -->
  11. <DebugSuffix Condition="'$(Configuration)'=='Debug'">d</DebugSuffix>
  12. <DebugSuffix Condition="'$(Configuration)'!='Debug'"></DebugSuffix>
  13. </PropertyGroup>
  14. <ItemGroup>
  15. <!-- Add required OpenCV dlls here-->
  16. <!-- General-->
  17. <None Include="$(OpenCV_Bin)opencv_core300$(DebugSuffix).dll">
  18. <DeploymentContent>true</DeploymentContent>
  19. </None>
  20. <None Include="$(OpenCV_Bin)opencv_imgproc300$(DebugSuffix).dll">
  21. <DeploymentContent>true</DeploymentContent>
  22. </None>
  23. <None Include="$(OpenCV_Bin)opencv_flann300$(DebugSuffix).dll">
  24. <DeploymentContent>true</DeploymentContent>
  25. </None>
  26. <None Include="$(OpenCV_Bin)opencv_features2d300$(DebugSuffix).dll">
  27. <DeploymentContent>true</DeploymentContent>
  28. </None>
  29. <None Include="$(OpenCV_Bin)opencv_imgcodecs300$(DebugSuffix).dll">
  30. <DeploymentContent>true</DeploymentContent>
  31. </None>
  32. <!-- Video processing -->
  33. <None Include="$(OpenCV_Bin)opencv_videoio300$(DebugSuffix).dll">
  34. <DeploymentContent>true</DeploymentContent>
  35. </None>
  36. <!-- Face detection-->
  37. <None Include="$(OpenCV_Bin)opencv_objdetect300$(DebugSuffix).dll">
  38. <DeploymentContent>true</DeploymentContent>
  39. </None>
  40. <None Include="$(OpenCV_Bin)opencv_ml300$(DebugSuffix).dll">
  41. <DeploymentContent>true</DeploymentContent>
  42. </None>
  43. </ItemGroup>
  44. <ItemDefinitionGroup>
  45. <ClCompile>
  46. <AdditionalIncludeDirectories>$(OpenCV_Include);%(AdditionalIncludeDirectories);</AdditionalIncludeDirectories>
  47. </ClCompile>
  48. <Link>
  49. <!--Add required OpenCV libs here-->
  50. <AdditionalDependencies>opencv_core300$(DebugSuffix).lib;opencv_imgproc300$(DebugSuffix).lib;opencv_flann300$(DebugSuffix).lib;opencv_videoio300$(DebugSuffix).lib;opencv_features2d300$(DebugSuffix).lib;opencv_objdetect300$(DebugSuffix).lib;opencv_ml300$(DebugSuffix).lib;%(AdditionalDependencies)</AdditionalDependencies>
  51. <AdditionalLibraryDirectories>$(OpenCV_Lib);%(AdditionalLibraryDirectories);</AdditionalLibraryDirectories>
  52. </Link>
  53. </ItemDefinitionGroup>
  54. </Project>