mirror of
https://git.sr.ht/~lattis/muon
synced 2026-01-27 18:04:58 +00:00
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.
13 lines
294 B
C
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
|