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
|
|
|
|
|
|
|
<NvmlInclude>"c:\Program Files\NVIDIA Corporation\GDK\gdk_win7_amd64_release\nvml\include"</NvmlInclude>
|
|
|
|
<NvmlLibPath>"c:\Program Files\NVIDIA Corporation\GDK\gdk_win7_amd64_release\nvml\lib"</NvmlLibPath>
|
|
|
|
|
|
|
|
<CudaVersion/>
|
|
|
|
<CudaVersion Condition="Exists('$(CUDA_PATH_V7_5)') And '$(CudaVersion)' == ''">7.5</CudaVersion>
|
|
|
|
<CudaVersion Condition="Exists('$(CUDA_PATH_V7_0)') And '$(CudaVersion)' == ''">7.0</CudaVersion>
|
|
|
|
|
2016-02-05 00:18:18 +03:00
|
|
|
</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 Condition="'$(CudaVersion)' == '7.0'">
|
|
|
|
<CudaPath>$(CUDA_PATH_V7_0)</CudaPath>
|
|
|
|
<CudaRuntimeDll>cudart64_70.dll</CudaRuntimeDll>
|
|
|
|
<CudaDlls>cublas64_70.dll;cusparse64_70.dll;curand64_70.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>
|
|
|
|
<PlatformToolset>v120</PlatformToolset>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(ConfigurationType)' == 'StaticLibrary' And $(ReleaseBuild)">
|
|
|
|
<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-02-04 23:39:37 +03:00
|
|
|
</Project>
|