Files
renderdoc/util/test/demos/build_standalone_release.sh
T
baldurk ea19a5d20b Update build-shaderc to properly build on VS2022 with x64
* 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.
2025-05-16 16:00:56 +01:00

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'