-
Notifications
You must be signed in to change notification settings - Fork 0
/
PropertySheet.props
36 lines (31 loc) · 1.84 KB
/
PropertySheet.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>
<!-- 指定第三方依赖目录 -->
<OpenCV>../opencv</OpenCV>
<CUDA>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0</CUDA>
<CUDA_HELP>C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.0\common</CUDA_HELP>
<D3DX>../Microsoft DirectX SDK (June 2010)</D3DX>
<OPENCL>$(CUDA)/include</OPENCL>
<GTEST>../googletest</GTEST>
<!-- 指定include目录 -->
<IncludePath>$(WindowsSDK_IncludePath);$(GTEST)/include;$(D3DX)/Include;./;../;$(OPENCL);$(common)/common;$(CUDA)/include;$(CUDA_HELP)/inc;$(OpenCV)\include;$(IncludePath)</IncludePath>
<!-- 指定lib目录 -->
<LibraryPath Condition="'$(Platform)'=='X64'">$(GTEST)/lib/x64;$(CUDA)/lib/x64;$(D3DX)/Lib/x64;$(OpenCV)/x64/vc15/lib;$(LibraryPath)</LibraryPath>
<LibraryPath Condition="'$(Platform)'=='Win32'">$(GTEST)/lib/x86;$(D3DX)/Lib/x86;$(OpenCV)/x86/vc15/lib;$(LibraryPath)</LibraryPath>
<!-- 让系统PATH临时包含指定的dll目录 -->
<LocalDebuggerEnvironment Condition="'$(Platform)'=='X64'">PATH=$(CUDA)/bin;$(D3DX)/dll/x64;$(OpenCV)/x64/vc15/bin;%PATH%;</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment Condition="'$(Platform)'=='Win32'">PATH=$(D3DX)/dll/x86;$(OpenCV)/x86/vc15/bin;%PATH%;</LocalDebuggerEnvironment>
</PropertyGroup>
<!-- 附加依赖项 -->
<ItemDefinitionGroup >
<Link Condition=" '$(Configuration)' == 'Debug' ">
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<Link Condition=" '$(Configuration)' == 'Release' ">
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
</Project>