mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
Meta+Ports: Automatically generate a meson cross file that we can use
This commit is contained in:
parent
0057b24b9e
commit
fb877effb8
11 changed files with 36 additions and 70 deletions
16
Toolchain/CMake/meson-cross-file-Clang.txt.in
Normal file
16
Toolchain/CMake/meson-cross-file-Clang.txt.in
Normal file
|
@ -0,0 +1,16 @@
|
|||
[binaries]
|
||||
c = '@SERENITY_ARCH@-pc-serenity-clang'
|
||||
cpp = '@SERENITY_ARCH@-pc-serenity-clang++'
|
||||
ar = 'llvm-ar'
|
||||
ranlib = 'llvm-ranlib'
|
||||
pkgconfig = 'pkg-config'
|
||||
|
||||
[properties]
|
||||
sys_root = '@SERENITY_BUILD_DIR@/Root'
|
||||
needs_exe_wrapper = true
|
||||
|
||||
[host_machine]
|
||||
system = 'serenity'
|
||||
cpu_family = 'x86'
|
||||
cpu = '@SERENITY_ARCH@'
|
||||
endian = 'little'
|
16
Toolchain/CMake/meson-cross-file-GNU.txt.in
Normal file
16
Toolchain/CMake/meson-cross-file-GNU.txt.in
Normal file
|
@ -0,0 +1,16 @@
|
|||
[binaries]
|
||||
c = '@SERENITY_ARCH@-pc-serenity-gcc'
|
||||
cpp = '@SERENITY_ARCH@-pc-serenity-g++'
|
||||
ar = '@SERENITY_ARCH@-pc-serenity-ar'
|
||||
ranlib = '@SERENITY_ARCH@-pc-serenity-ranlib'
|
||||
pkgconfig = 'pkg-config'
|
||||
|
||||
[properties]
|
||||
sys_root = '@SERENITY_BUILD_DIR@/Root'
|
||||
needs_exe_wrapper = true
|
||||
|
||||
[host_machine]
|
||||
system = 'serenity'
|
||||
cpu_family = 'x86'
|
||||
cpu = '@SERENITY_ARCH@'
|
||||
endian = 'little'
|
Loading…
Add table
Add a link
Reference in a new issue