mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 09:49:12 +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
31 lines
1.6 KiB
XML
31 lines
1.6 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">
|
|
<OpenCV_Bin>$(OPENCV_WINRT_INSTALL_DIR)\WS\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\bin\</OpenCV_Bin>
|
|
<OpenCV_Lib>$(OPENCV_WINRT_INSTALL_DIR)\WS\8.1\$(PlatformTarget)\$(PlatformTarget)\vc12\lib\</OpenCV_Lib>
|
|
<OpenCV_Include>$(OPENCV_WINRT_INSTALL_DIR)\WS\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-->
|
|
<None Include="$(OpenCV_Bin)opencv_core300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
<None Include="$(OpenCV_Bin)opencv_imgproc300$(DebugSuffix).dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(OpenCV_Include);$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories);</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<!--Add required OpenCV libs here-->
|
|
<AdditionalDependencies>opencv_core300$(DebugSuffix).lib;opencv_imgproc300$(DebugSuffix).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>$(OpenCV_Lib);%(AdditionalLibraryDirectories);</AdditionalLibraryDirectories>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
</Project> |