2020-03-14 20:59:37 +00:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project= "boinc.props" />
<ItemGroup Label= "ProjectConfigurations" >
2021-09-10 08:29:40 +00:00
<ProjectConfiguration Include= "Debug|ARM64" >
<Configuration > Debug</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
2020-03-14 20:59:37 +00:00
<ProjectConfiguration Include= "Debug|x64" >
<Configuration > Debug</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
2021-09-10 08:29:40 +00:00
<ProjectConfiguration Include= "Release|ARM64" >
<Configuration > Release</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
2020-03-14 20:59:37 +00:00
<ProjectConfiguration Include= "Release|x64" >
<Configuration > Release</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label= "Globals" >
<VCProjectVersion > 16.0</VCProjectVersion>
<ProjectGuid > {D3E5B5B5-4FB1-4877-9B2C-6708B3D568F7}</ProjectGuid>
<RootNamespace > vcpkg3rdpartydependencies</RootNamespace>
2020-06-29 05:34:42 +00:00
<ProjectName > vcpkg_3rdparty_dependencies</ProjectName>
2020-03-14 20:59:37 +00:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" Label= "Configuration" >
<ConfigurationType > Application</ConfigurationType>
<UseDebugLibraries > true</UseDebugLibraries>
2022-12-29 19:13:56 +00:00
<PlatformToolset > v143</PlatformToolset>
2020-03-14 20:59:37 +00:00
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
2021-09-10 08:29:40 +00:00
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label= "Configuration" >
<ConfigurationType > Application</ConfigurationType>
<UseDebugLibraries > true</UseDebugLibraries>
2022-12-29 19:13:56 +00:00
<PlatformToolset > v143</PlatformToolset>
2021-09-10 08:29:40 +00:00
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
2020-03-14 20:59:37 +00:00
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" Label= "Configuration" >
<ConfigurationType > Application</ConfigurationType>
<UseDebugLibraries > false</UseDebugLibraries>
2022-12-29 19:13:56 +00:00
<PlatformToolset > v143</PlatformToolset>
2020-03-14 20:59:37 +00:00
<WholeProgramOptimization > true</WholeProgramOptimization>
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
2021-09-10 08:29:40 +00:00
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|ARM64'" Label= "Configuration" >
<ConfigurationType > Application</ConfigurationType>
<UseDebugLibraries > false</UseDebugLibraries>
2022-12-29 19:13:56 +00:00
<PlatformToolset > v143</PlatformToolset>
2021-09-10 08:29:40 +00:00
<WholeProgramOptimization > true</WholeProgramOptimization>
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
2020-03-14 20:59:37 +00:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "Shared" >
</ImportGroup>
<ImportGroup Label= "PropertySheets" Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
2021-09-10 08:29:40 +00:00
<ImportGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
2020-03-14 20:59:37 +00:00
<ImportGroup Label= "PropertySheets" Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
2021-09-10 08:29:40 +00:00
<ImportGroup Condition= "'$(Configuration)|$(Platform)'=='Release|ARM64'" Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
2020-03-14 20:59:37 +00:00
<PropertyGroup Label= "UserMacros" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<LinkIncremental > true</LinkIncremental>
2020-06-22 10:43:54 +00:00
<OutDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\</OutDir>
<IntDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\$(ProjectName)\obj\</IntDir>
2020-03-14 20:59:37 +00:00
</PropertyGroup>
2021-09-10 08:29:40 +00:00
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|ARM64'" >
<LinkIncremental > true</LinkIncremental>
<OutDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\</OutDir>
<IntDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\$(ProjectName)\obj\</IntDir>
</PropertyGroup>
2020-03-14 20:59:37 +00:00
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<LinkIncremental > false</LinkIncremental>
2020-06-22 10:43:54 +00:00
<OutDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\</OutDir>
<IntDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\$(ProjectName)\obj\</IntDir>
2020-03-14 20:59:37 +00:00
</PropertyGroup>
2021-09-10 08:29:40 +00:00
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|ARM64'" >
<LinkIncremental > false</LinkIncremental>
<OutDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\</OutDir>
<IntDir > $(SolutionDir)Build\$(Platform)\$(Configuration)\$(ProjectName)\obj\</IntDir>
</PropertyGroup>
2020-03-14 20:59:37 +00:00
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > _DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
</ClCompile>
<Link >
<SubSystem > Console</SubSystem>
</Link>
</ItemDefinitionGroup>
2021-09-10 08:29:40 +00:00
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|ARM64'" >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > _DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
</ClCompile>
<Link >
<SubSystem > Console</SubSystem>
</Link>
</ItemDefinitionGroup>
2020-03-14 20:59:37 +00:00
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<FunctionLevelLinking > true</FunctionLevelLinking>
<IntrinsicFunctions > true</IntrinsicFunctions>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
</ClCompile>
<Link >
<SubSystem > Console</SubSystem>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
2021-09-10 08:29:40 +00:00
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Release|ARM64'" >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<FunctionLevelLinking > true</FunctionLevelLinking>
<IntrinsicFunctions > true</IntrinsicFunctions>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
</ClCompile>
<Link >
<SubSystem > Console</SubSystem>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
2020-03-14 20:59:37 +00:00
<ItemGroup >
</ItemGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
</ImportGroup>
2020-12-23 12:11:00 +00:00
<PropertyGroup >
2022-12-29 19:13:56 +00:00
<CudaGuardFile > $(CudaRootDir)\cuda.12.0.0.lock</CudaGuardFile>
2020-12-23 12:11:00 +00:00
</PropertyGroup>
<Target Name= "CleanUpCudaFolder" BeforeTargets= "CreateFolders" Condition= "Exists($(CudaRootDir)) And !Exists($(CudaGuardFile))" >
2021-09-10 08:29:40 +00:00
<RemoveDir Directories= "$(CudaRootDir)" />
2020-12-23 12:11:00 +00:00
</Target>
2021-08-24 19:43:37 +00:00
<Target Name= "CreateFolders" BeforeTargets= "InstallVcpkg" DependsOnTargets= "CleanUpCudaFolder" Condition= "!Exists($(Windows3rdPartyBuildDir)) Or !Exists($(CudaRootDir))" >
<MakeDir Directories= "$(Windows3rdPartyBuildDir)" />
2020-03-14 20:59:37 +00:00
<MakeDir Directories= "$(CudaRootDir)" />
</Target>
2021-09-10 08:29:40 +00:00
<Target Name= "DownloadCUDA" BeforeTargets= "InstallVcpkg" DependsOnTargets= "CreateFolders" AfterTargets= "CreateFolders" Condition= "'$(Platform)' == 'x64' And !Exists($(CudaNvccPath)) And !Exists($(CudaGuardFile))" >
2020-03-14 20:59:37 +00:00
<DownloadFile SourceUrl= "https://www.7-zip.org/a/7za920.zip" DestinationFolder= "$(TMP)" />
2020-06-22 10:43:54 +00:00
<Unzip SourceFiles= "$(TMP)\7za920.zip" DestinationFolder= "$(TMP)\7z" OverwriteReadOnlyFiles= "true" />
2022-12-29 19:13:56 +00:00
<DownloadFile SourceUrl= "http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/nvcc.exe" DestinationFolder= "$(TMP)" />
2020-06-22 10:43:54 +00:00
<Exec Command= "$(TMP)\7z\7za x $(TMP)\nvcc.exe -onvcc -aoa" WorkingDirectory= "$(CudaRootDir)" ConsoleToMSBuild= "true" />
2022-12-29 19:13:56 +00:00
<DownloadFile SourceUrl= "http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/cublas_dev.exe" DestinationFolder= "$(TMP)" />
2020-06-22 10:43:54 +00:00
<Exec Command= "$(TMP)\7z\7za x $(TMP)\cublas_dev.exe -onvcc -aoa" WorkingDirectory= "$(CudaRootDir)" ConsoleToMSBuild= "true" />
2022-12-29 19:13:56 +00:00
<DownloadFile SourceUrl= "http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/cudart.exe" DestinationFolder= "$(TMP)" />
<Exec Command= "$(TMP)\7z\7za x $(TMP)\cudart.exe -onvcc -aoa" WorkingDirectory= "$(CudaRootDir)" ConsoleToMSBuild= "true" />
<DownloadFile SourceUrl= "http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/thrust.exe" DestinationFolder= "$(TMP)" />
<Exec Command= "$(TMP)\7z\7za x $(TMP)\thrust.exe -onvcc -aoa" WorkingDirectory= "$(CudaRootDir)" ConsoleToMSBuild= "true" />
2020-12-23 12:11:00 +00:00
<Touch Files= "$(CudaGuardFile)" AlwaysCreate= "true" />
2020-03-14 20:59:37 +00:00
</Target>
2022-04-14 15:59:47 +00:00
<Target Name= "InstallVcpkg" BeforeTargets= "Build3rdPartyLibraries" DependsOnTargets= "CreateFolders" AfterTargets= "DownloadCUDA" >
2023-03-17 15:42:46 +00:00
<Exec Command= "$(Windows3rdPartyBuildDir)\..\vcpkg_ports\vcpkg_link.bat" WorkingDirectory= "$(Windows3rdPartyBuildDir)" ConsoleToMSBuild= "true" >
<Output TaskParameter= "ConsoleOutput" PropertyName= "VCPKG_LINK" />
</Exec>
<Exec Command= "git clone $(VCPKG_LINK)" WorkingDirectory= "$(Windows3rdPartyBuildDir)" ConsoleToMSBuild= "true" Condition= "!Exists($(VcpkgRootDir))" />
2020-03-14 20:59:37 +00:00
<Exec Command= "git pull" WorkingDirectory= "$(VcpkgRootDir)" ConsoleToMSBuild= "true" />
<Exec Command= "bootstrap-vcpkg.bat" WorkingDirectory= "$(VcpkgRootDir)" ConsoleToMSBuild= "true" />
</Target>
2022-12-29 19:13:56 +00:00
<Target Name= "Build3rdPartyLibraries" BeforeTargets= "ClCompile" DependsOnTargets= "InstallVcpkg" AfterTargets= "InstallVcpkg" >
2022-06-16 00:07:04 +00:00
<Exec Command= "vcpkg.exe install --x-manifest-root=$(VcpkgConfigsDir)/$(Platform) --x-install-root=$(VcpkgRootDir)/installed/ --overlay-ports=../../vcpkg_ports/ports --overlay-triplets=../../vcpkg_ports/triplets/$(VcpkgTripletConfig) --triplet $(VcpkgTripletName) --clean-after-build" WorkingDirectory= "$(VcpkgRootDir)" ConsoleToMSBuild= "true" />
2020-03-14 20:59:37 +00:00
</Target>
2022-12-29 19:13:56 +00:00
</Project>