mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-12 08:53:27 +00:00
* Add a helper script to build demos with VS2022 in release for shipping that link to shaderc. By default VS2015 won't link to it.
8 lines
319 B
Bash
8 lines
319 B
Bash
#!/bin/bash
|
|
|
|
# find new msbuild
|
|
MSBUILD="$(/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/Installer/vswhere.exe -requires Microsoft.Component.MSBuild -find 'MSBuild\**\Bin\MSBuild.exe')"
|
|
|
|
# build with new enough toolset to link shaderc
|
|
"$MSBUILD" -p:'Configuration=Release;Platform=x64' -p:'PlatformToolset=v143'
|