forked from wangzhizhou/Fish-eye-Image-Correction-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpenCV_Release_x64.props
65 lines (64 loc) · 2.57 KB
/
OpenCV_Release_x64.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?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_DIR>$(SolutionDir)opencv330vc14x64release\</OPENCV_DIR>
<OPENCV_BIN>%(OPENCV_DIR)bin</OPENCV_BIN>
<OPENCV_INCLUDE>$(OPENCV_DIR)include</OPENCV_INCLUDE>
<OPENCV_LIB>$(OPENCV_DIR)lib</OPENCV_LIB>
<OPENCV_LIBS>opencv_world330.lib</OPENCV_LIBS>
<OPENCV_DLLS>opencv_world330.dll</OPENCV_DLLS>
<IMG_DIR>$(SolutionDir)ImagesForTest</IMG_DIR>
</PropertyGroup>
<PropertyGroup>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<_PropertySheetDisplayName>OpenCV_Release_x64</_PropertySheetDisplayName>
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(OPENCV_INCLUDE)</AdditionalIncludeDirectories>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(OPENCV_LIB)</AdditionalLibraryDirectories>
<AdditionalDependencies>$(OPENCV_LIBS);%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Link>
<PostBuildEvent>
<Command>echo D | rd /S /Q "$(SolutionDir)product\"
echo D | xcopy /Y "$(TargetPath)" "$(SolutionDir)product\"
echo D | xcopy /Y "$(OPENCV_DIR)bin\$(OPENCV_DLLS)" "$(SolutionDir)product\"
echo D | xcopy /Y "$(OPENCV_DIR)bin\$(OPENCV_DLLS)" "$(SolutionDir)$(Platform)\$(Configuration)"</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>复制生成的应用程序以及运行依赖的dll文件到指定文件夹</Message>
</PostBuildEvent>
<ProjectReference>
<LinkLibraryDependencies>false</LinkLibraryDependencies>
</ProjectReference>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="OPENCV_DIR">
<Value>$(OPENCV_DIR)</Value>
</BuildMacro>
<BuildMacro Include="OPENCV_BIN">
<Value>$(OPENCV_BIN)</Value>
</BuildMacro>
<BuildMacro Include="OPENCV_INCLUDE">
<Value>$(OPENCV_INCLUDE)</Value>
</BuildMacro>
<BuildMacro Include="OPENCV_LIB">
<Value>$(OPENCV_LIB)</Value>
</BuildMacro>
<BuildMacro Include="OPENCV_LIBS">
<Value>$(OPENCV_LIBS)</Value>
</BuildMacro>
<BuildMacro Include="OPENCV_DLLS">
<Value>$(OPENCV_DLLS)</Value>
</BuildMacro>
<BuildMacro Include="IMG_DIR">
<Value>$(IMG_DIR)</Value>
</BuildMacro>
</ItemGroup>
</Project>