muon/include/machine_file.h
Stone Tickle 6f4326b043 initial support of meson cross / native files
muon supports a more powerful version of what native files can
accomplish via preloading a meson-syntax script that runs before the
first project() call.  All the machine file features should be able to
be set using the equivalent muon extensions, e.g.
- machine.set_properties
- meson.override_find_program
- meson.set_option
- meson.set_external_properties
muon's native file support is simply a trivial rewrite from the .ini
file into a .meson script that is then evaluated regularly.

There is still much more to iron out but basic stuff such as selecting a
cross compiler should work.
2025-10-23 09:40:05 -04:00

13 lines
294 B
C

/*
* SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
* SPDX-License-Identifier: GPL-3.0-only
*/
#ifndef MUON_MACHINE_FILE_H
#define MUON_MACHINE_FILE_H
#include "lang/workspace.h"
bool machine_file_eval(struct workspace *wk, const char *path, enum machine_kind machine);
#endif