Use 32-bit native build in UWP example.
This commit is contained in:
parent
9f2a6b5fd4
commit
e49135e542
@ -41,7 +41,7 @@ function prepare {
|
|||||||
|
|
||||||
cd build-native
|
cd build-native
|
||||||
|
|
||||||
cmake "$td_root" -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON
|
cmake -A Win32 -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON "$td_root"
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
cmake --build . --target prepare_cross_compiling
|
cmake --build . --target prepare_cross_compiling
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
@ -62,7 +62,7 @@ function config {
|
|||||||
if ($arch -eq "x86") {
|
if ($arch -eq "x86") {
|
||||||
$fixed_arch = "win32"
|
$fixed_arch = "win32"
|
||||||
}
|
}
|
||||||
cmake "$td_root" -A $fixed_arch -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON
|
cmake -A $fixed_arch -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON "$td_root"
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
cd ..
|
cd ..
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user