mirror of
https://github.com/mesonbuild/meson.git
synced 2026-11-06 05:16:42 +00:00
This is like the project options, but for meson builtin options. The only real differences here have to do with the differences between meson builtin options and project options. Some meson options can be set on a per-machine basis (build.pkg_config_path vs pkg_config_path) others can be set on a per-subproject basis, but should inherit the parent setting.
23 lines
545 B
Plaintext
23 lines
545 B
Plaintext
# This file assumes that path to the Renesas CC-RX toolchain is added
|
|
# to the environment(PATH) variable, so that Meson can find
|
|
# ccrx and rlink while building.
|
|
[binaries]
|
|
c = 'ccrx'
|
|
cpp = 'ccrx'
|
|
ar = 'rlink'
|
|
strip = 'rlink'
|
|
|
|
[built-in options]
|
|
# The '--cpu' option with the appropriate target type should be mentioned
|
|
# to cross compile c/c++ code with ccrx,.
|
|
c_args = ['-cpu=rx600']
|
|
cpp_args = ['-cpu=rx600']
|
|
c_link_args = []
|
|
cpp_link_args = []
|
|
|
|
[host_machine]
|
|
system = 'bare metal'
|
|
cpu_family = 'rx'
|
|
cpu = 'rx600'
|
|
endian = 'little'
|