opencv.props 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  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. <PropertyGroup>
  13. <IgnoreImportLibrary>true</IgnoreImportLibrary>
  14. </PropertyGroup>
  15. <ItemGroup>
  16. <!--Add required OpenCV dlls here-->
  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. </ItemGroup>
  24. <ItemDefinitionGroup>
  25. <ClCompile>
  26. <AdditionalIncludeDirectories>$(OpenCV_Include);%(AdditionalIncludeDirectories);</AdditionalIncludeDirectories>
  27. </ClCompile>
  28. <Link>
  29. <!--Add required OpenCV libs here-->
  30. <AdditionalDependencies>opencv_core300$(DebugSuffix).lib;opencv_imgproc300$(DebugSuffix).lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies>
  31. <AdditionalLibraryDirectories>$(OpenCV_Lib);%(AdditionalLibraryDirectories);</AdditionalLibraryDirectories>
  32. </Link>
  33. </ItemDefinitionGroup>
  34. </Project>