opencv.props 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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)\WP\8.0\$(PlatformTarget)\$(PlatformTarget)\vc11\bin\</OpenCV_Bin>
  6. <OpenCV_Lib>$(OPENCV_WINRT_INSTALL_DIR)\WP\8.0\$(PlatformTarget)\$(PlatformTarget)\vc11\lib\</OpenCV_Lib>
  7. <OpenCV_Include>$(OPENCV_WINRT_INSTALL_DIR)\WP\8.0\$(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. <None Include="$(OpenCV_Bin)opencv_features2d300$(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_ml300$(DebugSuffix).dll">
  27. <DeploymentContent>true</DeploymentContent>
  28. </None>
  29. </ItemGroup>
  30. <ItemDefinitionGroup>
  31. <ClCompile>
  32. <AdditionalIncludeDirectories>$(OpenCV_Include);$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  33. </ClCompile>
  34. <Link>
  35. <!--Add required OpenCV libs here-->
  36. <AdditionalDependencies>opencv_core300$(DebugSuffix).lib;opencv_imgproc300$(DebugSuffix).lib;opencv_features2d300$(DebugSuffix).lib;opencv_flann300$(DebugSuffix).lib;opencv_ml300$(DebugSuffix).lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
  37. <AdditionalLibraryDirectories>$(OpenCV_Lib);%(AdditionalLibraryDirectories);</AdditionalLibraryDirectories>
  38. </Link>
  39. </ItemDefinitionGroup>
  40. </Project>