mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 00:10:21 +08:00
fd860d7cd0
of WINRT samples This removes requirement to add OPENCV_WINRT_INSTALL_DIR with backslash in the end in case trailing slash is presented VS handles duplicated slashes w/o issues
58 lines
2.8 KiB
XML
58 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ImportGroup Label="PropertySheets" />
|
|
<PropertyGroup Label="UserMacros">
|
|
<Runtime Condition="'$(ApplicationType)'=='Windows Phone'">WP</Runtime>
|
|
<Runtime Condition="'$(ApplicationType)'=='Windows Store'">WS</Runtime>
|
|
<OpenCV_Bin>$(OPENCV_WINRT_INSTALL_DIR)\$(Runtime)\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\bin\</OpenCV_Bin>
|
|
<OpenCV_Lib>$(OPENCV_WINRT_INSTALL_DIR)\$(Runtime)\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\lib\</OpenCV_Lib>
|
|
<OpenCV_Include>$(OPENCV_WINRT_INSTALL_DIR)\$(Runtime)\8.1\$(PlatformTarget)\include\</OpenCV_Include>
|
|
<!--debug suffix for OpenCV dlls and libs -->
|
|
<DebugSuffix Condition="'$(Configuration)'=='Debug'">d</DebugSuffix>
|
|
<DebugSuffix Condition="'$(Configuration)'!='Debug'"></DebugSuffix>
|
|
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<!-- Add required OpenCV dlls here-->
|
|
|
|
<!-- General-->
|
|
<None Include="$(OpenCV_Bin)opencv_core300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
<None Include="$(OpenCV_Bin)opencv_imgproc300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
<None Include="$(OpenCV_Bin)opencv_flann300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
<None Include="$(OpenCV_Bin)opencv_features2d300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
<None Include="$(OpenCV_Bin)opencv_imgcodecs300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
|
|
<!-- Video processing -->
|
|
<None Include="$(OpenCV_Bin)opencv_videoio300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
|
|
<!-- Face detection-->
|
|
<None Include="$(OpenCV_Bin)opencv_objdetect300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
<None Include="$(OpenCV_Bin)opencv_ml300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(OpenCV_Include);%(AdditionalIncludeDirectories);</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<!--Add required OpenCV libs here-->
|
|
<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>
|
|
<AdditionalLibraryDirectories>$(OpenCV_Lib);%(AdditionalLibraryDirectories);</AdditionalLibraryDirectories>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
</Project> |