From b01d8db282f7971ade728e47a943585eae42f419 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 28 Sep 2022 20:03:18 -0700 Subject: Fix build script for macos aarch64. (#2420) * Fix build script for macos aarch64. * fix1 * Fix2. * update vs files Co-authored-by: Yong He --- .../render-test-tool/render-test-tool.vcxproj | 40 ++++++++++++---------- 1 file changed, 22 insertions(+), 18 deletions(-) (limited to 'build/visual-studio/render-test-tool') diff --git a/build/visual-studio/render-test-tool/render-test-tool.vcxproj b/build/visual-studio/render-test-tool/render-test-tool.vcxproj index e6c49a78d..6b5d29e30 100644 --- a/build/visual-studio/render-test-tool/render-test-tool.vcxproj +++ b/build/visual-studio/render-test-tool/render-test-tool.vcxproj @@ -9,9 +9,9 @@ Debug x64 - + Debug - ARM + ARM64 Debug aarch64 @@ -21,9 +21,9 @@ Debug aarch64 x64 - + Debug aarch64 - ARM + ARM64 Release @@ -33,9 +33,9 @@ Release x64 - + Release - ARM + ARM64 Release aarch64 @@ -45,9 +45,9 @@ Release aarch64 x64 - + Release aarch64 - ARM + ARM64 @@ -70,12 +70,12 @@ Unicode v142 - + DynamicLibrary true Unicode v142 - true + true DynamicLibrary @@ -89,12 +89,12 @@ Unicode v142 - + DynamicLibrary false Unicode v142 - true + true @@ -105,7 +105,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -132,7 +132,7 @@ render-test-tool .dll - + true ..\..\..\bin\windows-aarch64\debug\ ..\..\..\intermediate\windows-aarch64\debug\render-test-tool\ @@ -153,7 +153,7 @@ render-test-tool .dll - + false ..\..\..\bin\windows-aarch64\release\ ..\..\..\intermediate\windows-aarch64\release\render-test-tool\ @@ -198,7 +198,7 @@ "$(SolutionDir)tools\copy-hlsl-libs.bat" "$(WindowsSdkDir)Redist/D3D/x64/" "../../../bin/windows-x64/debug/" "windows-x64" - + NotUsing Level3 @@ -207,11 +207,13 @@ ProgramDatabase Disabled MultiThreadedDebug + -arch arm64 %(AdditionalOptions) Windows true ..\..\..\bin\windows-aarch64\debug\render-test-tool.lib + -arch arm64 %(AdditionalOptions) "$(SolutionDir)tools\copy-hlsl-libs.bat" "$(WindowsSdkDir)Redist/D3D/aarch64/" "../../../bin/windows-aarch64/debug/" "windows-aarch64" @@ -263,7 +265,7 @@ "$(SolutionDir)tools\copy-hlsl-libs.bat" "$(WindowsSdkDir)Redist/D3D/x64/" "../../../bin/windows-x64/release/" "windows-x64" - + NotUsing Level3 @@ -275,12 +277,14 @@ false true MultiThreaded + -arch arm64 %(AdditionalOptions) Windows true true ..\..\..\bin\windows-aarch64\release\render-test-tool.lib + -arch arm64 %(AdditionalOptions) "$(SolutionDir)tools\copy-hlsl-libs.bat" "$(WindowsSdkDir)Redist/D3D/aarch64/" "../../../bin/windows-aarch64/release/" "windows-aarch64" -- cgit v1.2.3