2016-02-05 00:18:18 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-02-04 23:39:37 +03:00
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2016-02-05 00:18:18 +03:00
|
|
|
<PropertyGroup>
|
2016-02-05 11:12:58 +03:00
|
|
|
<!-- Note: SolutionDir / RepoRootPath are the same in current setup -->
|
|
|
|
<RepoRootPath>$(MSBuildThisFileDirectory)</RepoRootPath>
|
|
|
|
<RelativeProjectPath>$(MSBuildProjectDirectory.Substring($(MSBuildThisFileDirectory.Length)))</RelativeProjectPath>
|
|
|
|
|
|
|
|
<OutDir>$(RepoRootPath)$(Platform)\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>$(RepoRootPath)$(Platform)\.build\$(Configuration)\$(RelativeProjectPath)\</IntDir>
|
|
|
|
|
2016-02-05 00:18:18 +03:00
|
|
|
<DebugBuild>false</DebugBuild>
|
|
|
|
<DebugBuild Condition="$(Configuration.StartsWith('Debug'))">true</DebugBuild>
|
|
|
|
|
|
|
|
<ReleaseBuild>false</ReleaseBuild>
|
|
|
|
<ReleaseBuild Condition="!$(DebugBuild)">true</ReleaseBuild>
|
|
|
|
|
|
|
|
<GpuBuild>true</GpuBuild>
|
|
|
|
<GpuBuild Condition="$(Configuration.EndsWith('_CpuOnly'))">false</GpuBuild>
|
|
|
|
|
|
|
|
<CpuOnlyBuild>true</CpuOnlyBuild>
|
|
|
|
<CpuOnlyBuild Condition="$(GpuBuild)">false</CpuOnlyBuild>
|
2016-04-04 18:15:47 +03:00
|
|
|
|
2016-10-15 00:21:23 +03:00
|
|
|
<NoOptBuild>false</NoOptBuild>
|
|
|
|
<NoOptBuild Condition="$(Configuration.Contains('NoOpt'))">true</NoOptBuild>
|
|
|
|
|
2016-04-04 18:15:47 +03:00
|
|
|
<CudaVersion/>
|
2016-08-23 01:40:47 +03:00
|
|
|
<CudaVersion Condition="Exists('$(CUDA_PATH_V8_0)') And '$(CudaVersion)' == ''">8.0</CudaVersion>
|
2016-04-04 18:15:47 +03:00
|
|
|
<CudaVersion Condition="Exists('$(CUDA_PATH_V7_5)') And '$(CudaVersion)' == ''">7.5</CudaVersion>
|
2017-01-02 14:52:20 +03:00
|
|
|
|
|
|
|
<NvmlInclude />
|
|
|
|
<NvmlInclude Condition="'$(CudaVersion)' == '7.5'">"c:\Program Files\NVIDIA Corporation\GDK\gdk_win7_amd64_release\nvml\include"</NvmlInclude>
|
|
|
|
<NvmlInclude Condition="'$(CudaVersion)' == '8.0'" />
|
|
|
|
|
|
|
|
<NvmlLibPath />
|
|
|
|
<NvmlLibPath Condition="'$(CudaVersion)' == '7.5'">"c:\Program Files\NVIDIA Corporation\GDK\gdk_win7_amd64_release\nvml\lib"</NvmlLibPath>
|
|
|
|
<NvmlLibPath Condition="'$(CudaVersion)' == '8.0'" />
|
2016-04-04 18:15:47 +03:00
|
|
|
|
2016-06-28 16:06:26 +03:00
|
|
|
<HasOpenCv>false</HasOpenCv>
|
|
|
|
<HasOpenCv Condition="Exists('$(OPENCV_PATH)') Or Exists('$(OPENCV_PATH_V31)')">true</HasOpenCv>
|
2016-10-25 01:33:31 +03:00
|
|
|
|
|
|
|
<HasProtobuf>false</HasProtobuf>
|
|
|
|
<HasProtobuf Condition="Exists('$(PROTOBUF_PATH)')">true</HasProtobuf>
|
|
|
|
|
|
|
|
<HasBoost>false</HasBoost>
|
2016-08-17 16:27:15 +03:00
|
|
|
<HasBoost Condition="Exists('$(BOOST_INCLUDE_PATH)') And Exists('$(BOOST_LIB_PATH)')">true</HasBoost>
|
2016-06-28 16:06:26 +03:00
|
|
|
|
|
|
|
<UseZip>false</UseZip>
|
|
|
|
<UseZip Condition="Exists('$(ZLIB_PATH)')">true</UseZip>
|
2016-11-12 08:20:31 +03:00
|
|
|
|
|
|
|
<HasMultiverso>false</HasMultiverso>
|
|
|
|
<HasMultiverso Condition="Exists('$(SolutionDir)\Source\Multiverso\include\multiverso')">true</HasMultiverso>
|
2016-12-10 17:33:45 +03:00
|
|
|
|
|
|
|
<HasSwig>false</HasSwig>
|
2016-12-08 16:13:22 +03:00
|
|
|
<HasSwig Condition="Exists('$(SWIG_PATH)\swig.exe')">true</HasSwig>
|
2016-11-12 08:20:31 +03:00
|
|
|
|
2016-11-09 01:15:55 +03:00
|
|
|
<!-- If an executable links ReaderLib.lib, it has dependency on Common.dll, Math.dll and PerformanceProfilerDll.dll -->
|
|
|
|
<ReaderLibs>ReaderLib.lib;Common.lib;Math.lib;PerformanceProfilerDll.lib</ReaderLibs>
|
|
|
|
|
2016-02-05 00:18:18 +03:00
|
|
|
</PropertyGroup>
|
2016-04-04 18:15:47 +03:00
|
|
|
|
2016-08-16 15:59:15 +03:00
|
|
|
<PropertyGroup>
|
2017-01-02 14:52:20 +03:00
|
|
|
<MathLibrary>MKL</MathLibrary>
|
|
|
|
<CNTKCustomMKLVersion>3</CNTKCustomMKLVersion>
|
|
|
|
<CNTKCustomMKLPath>$(CNTK_MKL_PATH)\$(CNTKCustomMKLVersion)</CNTKCustomMKLPath>
|
|
|
|
<MathIncludePath>$(CNTKCustomMKLPath)\include</MathIncludePath>
|
|
|
|
<MathDefine>USE_MKL</MathDefine>
|
2016-08-16 15:59:15 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(CNTK_MKL_SEQUENTIAL)' != '1'">
|
2017-01-02 14:52:20 +03:00
|
|
|
<MathLibraryName>CNTK custom MKL Parallel (Version: $(CNTKCustomMKLVersion))</MathLibraryName>
|
|
|
|
<MathLibraryPath>$(CNTKCustomMKLPath)\x64\parallel</MathLibraryPath>
|
|
|
|
<MathLinkLibrary>mkl_cntk_p.lib</MathLinkLibrary>
|
|
|
|
<MathDelayLoad>mkl_cntk_p.dll</MathDelayLoad>
|
|
|
|
<MathPostBuildCopyPattern>$(MathLibraryPath)\*.dll</MathPostBuildCopyPattern>
|
|
|
|
<UnitTestDlls>$(OutDir)mkl_cntk_p.dll;$(OutDir)libiomp5md.dll;</UnitTestDlls>
|
2016-08-16 15:59:15 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(CNTK_MKL_SEQUENTIAL)' == '1'">
|
2017-01-02 14:52:20 +03:00
|
|
|
<MathLibraryName>CNTK custom MKL Sequential (Version: $(CNTKCustomMKLVersion))</MathLibraryName>
|
|
|
|
<MathLibraryPath>$(CNTKCustomMKLPath)\x64\sequential</MathLibraryPath>
|
|
|
|
<MathLinkLibrary>mkl_cntk_s.lib</MathLinkLibrary>
|
|
|
|
<MathDelayLoad>mkl_cntk_s.dll</MathDelayLoad>
|
|
|
|
<MathPostBuildCopyPattern>$(MathLibraryPath)\*.dll</MathPostBuildCopyPattern>
|
|
|
|
<UnitTestDlls>$(OutDir)mkl_cntk_s.dll;</UnitTestDlls>
|
2016-08-16 15:59:15 +03:00
|
|
|
</PropertyGroup>
|
2016-06-28 16:06:26 +03:00
|
|
|
|
|
|
|
<PropertyGroup Condition="$(UseZip)">
|
|
|
|
<ZipInclude>$(ZLIB_PATH)\include;$(ZLIB_PATH)\lib\libzip\include;</ZipInclude>
|
|
|
|
<ZipDefine>USE_ZIP</ZipDefine>
|
|
|
|
<ZipLibPath>$(ZLIB_PATH)\lib;</ZipLibPath>
|
|
|
|
<ZipLibs>zlib.lib;zip.lib;</ZipLibs>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-06-30 11:42:29 +03:00
|
|
|
<PropertyGroup Condition="Exists('$(OPENCV_PATH)')">
|
|
|
|
<OpenCvPath>$(OPENCV_PATH)</OpenCvPath>
|
|
|
|
<OpenCvVersion>300</OpenCvVersion>
|
|
|
|
</PropertyGroup>
|
2016-06-28 16:06:26 +03:00
|
|
|
|
2016-06-30 11:42:29 +03:00
|
|
|
<PropertyGroup Condition="Exists('$(OPENCV_PATH_V31)')">
|
|
|
|
<OpenCvPath>$(OPENCV_PATH_V31)</OpenCvPath>
|
|
|
|
<OpenCvVersion>310</OpenCvVersion>
|
|
|
|
</PropertyGroup>
|
2016-06-14 18:39:24 +03:00
|
|
|
|
2016-06-28 16:06:26 +03:00
|
|
|
<PropertyGroup Condition="$(HasOpenCv)">
|
|
|
|
<OpenCvInclude>$(OpenCvPath)\include;</OpenCvInclude>
|
|
|
|
<OpenCvWorld Condition="$(ReleaseBuild)">opencv_world$(OpenCvVersion)</OpenCvWorld>
|
|
|
|
<OpenCvWorld Condition="$(DebugBuild)">opencv_world$(OpenCvVersion)d</OpenCvWorld>
|
|
|
|
<OpenCvLib>$(OpenCvWorld).lib</OpenCvLib>
|
2017-01-02 14:52:20 +03:00
|
|
|
<OpenCvLibPath>$(OpenCvPath)\x64\vc14\lib</OpenCvLibPath>
|
|
|
|
<OpenCvBinPath>$(OpenCvPath)\x64\vc14\bin</OpenCvBinPath>
|
2016-06-28 16:06:26 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-10-25 01:33:31 +03:00
|
|
|
<PropertyGroup Condition="$(HasProtobuf)">
|
|
|
|
<ProtobufInclude>$(PROTOBUF_PATH)\include;</ProtobufInclude>
|
|
|
|
<ProtobufLibPath>$(PROTOBUF_PATH)\lib;</ProtobufLibPath>
|
|
|
|
<ProtobufLib Condition="$(ReleaseBuild)">libprotobuf.lib</ProtobufLib>
|
|
|
|
<ProtobufLib Condition="$(DebugBuild)">libprotobufd.lib</ProtobufLib>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-08-23 01:40:47 +03:00
|
|
|
<PropertyGroup Condition="'$(CudaVersion)' == '8.0'">
|
|
|
|
<CudaPath>$(CUDA_PATH_V8_0)</CudaPath>
|
|
|
|
<CudaRuntimeDll>cudart64_80.dll</CudaRuntimeDll>
|
|
|
|
<CudaDlls>cublas64_80.dll;cusparse64_80.dll;curand64_80.dll;$(CudaRuntimeDll)</CudaDlls>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-04-04 18:15:47 +03:00
|
|
|
<PropertyGroup Condition="'$(CudaVersion)' == '7.5'">
|
|
|
|
<CudaPath>$(CUDA_PATH_V7_5)</CudaPath>
|
|
|
|
<CudaRuntimeDll>cudart64_75.dll</CudaRuntimeDll>
|
|
|
|
<CudaDlls>cublas64_75.dll;cusparse64_75.dll;curand64_75.dll;$(CudaRuntimeDll)</CudaDlls>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<CudaLibs>cudart.lib;cublas.lib;cusparse.lib;curand.lib</CudaLibs>
|
|
|
|
<CudaInclude>$(CudaPath)\include</CudaInclude>
|
|
|
|
<CudaLibPath>$(CudaPath)\lib\$(Platform)</CudaLibPath>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-04-23 16:01:27 +03:00
|
|
|
<!-- TODO warn if ConfigurationType not (yet) defined -->
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(ConfigurationType)' == 'StaticLibrary'">
|
|
|
|
<UseDebugLibraries>$(DebugBuild)</UseDebugLibraries>
|
2017-01-02 14:52:20 +03:00
|
|
|
<PlatformToolset>v140</PlatformToolset>
|
2016-04-23 16:01:27 +03:00
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<WholeProgramOptimization>$(ReleaseBuild)</WholeProgramOptimization>
|
|
|
|
<LinkIncremental>$(DebugBuild)</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(ConfigurationType)' == 'StaticLibrary'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level4</WarningLevel>
|
|
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<OpenMPSupport>true</OpenMPSupport>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Console</SubSystem>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(ConfigurationType)' == 'StaticLibrary' And $(DebugBuild)">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<StackReserveSize>100000000</StackReserveSize>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2016-11-06 05:12:38 +03:00
|
|
|
<ItemDefinitionGroup Condition="$(ReleaseBuild) And !$(NoOptBuild)">
|
2016-04-23 16:01:27 +03:00
|
|
|
<ClCompile>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<Profile>true</Profile>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2016-10-15 00:21:23 +03:00
|
|
|
<ItemDefinitionGroup Condition="$(NoOptBuild)">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<FunctionLevelLinking>false</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>false</IntrinsicFunctions>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2016-11-06 05:12:38 +03:00
|
|
|
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
2016-10-15 00:21:23 +03:00
|
|
|
<OptimizeReferences>false</OptimizeReferences>
|
2016-11-06 05:12:38 +03:00
|
|
|
<Profile>false</Profile>
|
2016-10-15 00:21:23 +03:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2016-11-06 04:40:31 +03:00
|
|
|
<PropertyGroup Condition="$(NoOptBuild)" Label="Configuration">
|
2016-11-06 04:37:43 +03:00
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
2016-11-06 04:43:24 +03:00
|
|
|
<LinkIncremental>true</LinkIncremental>
|
2016-11-06 04:37:43 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-02-04 23:39:37 +03:00
|
|
|
</Project>
|