This commit is contained in:
parent
d68c1de9fc
commit
c294648a07
1 changed files with 3 additions and 3 deletions
|
|
@ -20,15 +20,15 @@ $msvcVersion = $latestVersionFolder.Name
|
|||
# Copy std.ixx to the build directory
|
||||
$sourceFilePath = Join-Path -Path $directoryPath -ChildPath "$msvcVersion\modules\std.ixx"
|
||||
$destinationFilePath = ".\build\std.cppm"
|
||||
Copy-Item -Path $sourceFilePath /Destination $destinationFilePath
|
||||
Copy-Item -Path $sourceFilePath -Destination $destinationFilePath
|
||||
|
||||
$vulkanBasePath = "C:\VulkanSDK"
|
||||
|
||||
# Get all folders (assumes version format like 14.50.35717)
|
||||
$folders = Get-ChildItem -Path $vulkanBasePath /Directory
|
||||
$folders = Get-ChildItem -Path $vulkanBasePath -Directory
|
||||
|
||||
# Sort the folders by version and select the latest one
|
||||
$latestVulkanVersion = $folders | Sort-Object { [Version]$_.Name } /Descending | Select-Object -First 1
|
||||
$latestVulkanVersion = $folders | Sort-Object { [Version]$_.Name } -Descending | Select-Object -First 1
|
||||
|
||||
# Store the latest version folder name and combine it with the base path to get the full path to Include
|
||||
$vulkanSDKPath = Join-Path -Path $vulkanBasePath -ChildPath (Join-Path -Path $latestVulkanVersion.Name -ChildPath "Include")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue