Add a cross-file for MSVC UWP ARM64. Bump cidata tag to get an updated install.ps1 script (run by run.ps1) which sets the vcvars environment correctly when cross-compiling. Since arranging the correct environment for simultaneous cross and native 'cl' use is hard, this is test run uses '--cross-only' so we don't require a native compiler. Extend '--cross-only' so it also explicitly uses a machine file which makes all build machine compilers unusable.pull/7726/head
parent
a908404e6d
commit
6a56291a2a
5 changed files with 52 additions and 5 deletions
@ -0,0 +1,17 @@ |
|||||||
|
[binaries] |
||||||
|
c = 'cl' |
||||||
|
cpp = 'cl' |
||||||
|
ar = 'lib' |
||||||
|
windres = 'rc' |
||||||
|
|
||||||
|
[properties] |
||||||
|
c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP'] |
||||||
|
c_link_args = ['-APPCONTAINER', 'WindowsApp.lib'] |
||||||
|
cpp_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP'] |
||||||
|
cpp_link_args = ['-APPCONTAINER', 'WindowsApp.lib'] |
||||||
|
|
||||||
|
[host_machine] |
||||||
|
system = 'windows' |
||||||
|
cpu_family = 'aarch64' |
||||||
|
cpu = 'armv8' |
||||||
|
endian = 'little' |
@ -0,0 +1,18 @@ |
|||||||
|
# native file used to make the build machine compiler unusable |
||||||
|
|
||||||
|
[host_machine] |
||||||
|
system = 'none' |
||||||
|
cpu_family = 'none' |
||||||
|
cpu = 'none' |
||||||
|
endian = 'little' |
||||||
|
|
||||||
|
[properties] |
||||||
|
|
||||||
|
[binaries] |
||||||
|
c = ['false'] |
||||||
|
cpp = ['false'] |
||||||
|
objc = ['false'] |
||||||
|
objcpp = ['false'] |
||||||
|
ar = ['false'] |
||||||
|
pkgconfig = ['false'] |
||||||
|
cmake = ['false'] |
Loading…
Reference in new issue