[constants]
prefix = '/home/runner/opt/os2emx'
target = 'i686-pc-os2-emx'
targetprefix = prefix / target

[binaries]
c = target + '-gcc'
cpp = target + '-g++'
ar = target + '-emxomfar'
windres = target + '-windres'
# only working on the executables such as .exe and .dll
strip = target + '-emxomfstrip'
pkg-config = target + '-pkg-config'
# dummy exe wrapper
exe_wrapper = 'true'

[host_machine]
system = 'os/2'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'

[properties]
sys_root = targetprefix
pkg_config_libdir = targetprefix / 'lib/pkgconfig'

[built-in options]
c_args = ['-idirafter', targetprefix / 'include/os2tk45']
cpp_args = ['-idirafter', targetprefix / 'include/os2tk45']
