-
Notifications
You must be signed in to change notification settings - Fork 0
/
OpenCV.props
36 lines (36 loc) · 1.66 KB
/
OpenCV.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?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" />
<PropertyGroup Label="UserMacros" Condition="$(PlatformToolsetVersion)==142">
<OPENCV_TOOLSET_VERSION>vc15</OPENCV_TOOLSET_VERSION>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="$(PlatformToolsetVersion)==141">
<OPENCV_TOOLSET_VERSION>vc15</OPENCV_TOOLSET_VERSION>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="$(PlatformToolsetVersion)==14">
<OPENCV_TOOLSET_VERSION>vc14</OPENCV_TOOLSET_VERSION>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>OpenCV</_PropertySheetDisplayName>
<OPENCV_DIR>$(MSBuildThisFileDirectory)opencv-4.1.0\</OPENCV_DIR>
<ExecutablePath>$(OPENCV_DIR)\build\x64\$(OPENCV_TOOLSET_VERSION)\bin\;$(ExecutablePath)</ExecutablePath>
<IncludePath>$(OPENCV_DIR)\build\include\;$(IncludePath)</IncludePath>
<LibraryPath>$(OPENCV_DIR)\build\x64\$(OPENCV_TOOLSET_VERSION)\lib\;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<Link>
<AdditionalDependencies>opencv_world410d.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'!='Debug'">
<Link>
<AdditionalDependencies>opencv_world410.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="OPENCV_DIR">
<Value>$(OPENCV_DIR)</Value>
</BuildMacro>
</ItemGroup>
</Project>