-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meson does not support Windows kernel drivers #7765
Comments
The "most correct" solution would probably be to deprecate |
I was using gui_app in my freedesktop module, but that was just convenience |
What did you use it for? Was it something other than marking an executable as a GUI app on Windows? If there are no other uses we should be able to do the following:
IIRC the gui app was needed on some other platforms too (maybe macOS?) but I'm not so sure any more. |
.desktop files want to know whether an app is a gui or console app |
I went through the code and gui_app is only used on Windows ( |
Another question is whether certain |
Can you test if the linked MR fixes things for you? |
It currently doesn't work because of this consistency check: if re.fullmatch(r'(boot_application|console|efi_application|efi_boot_service_driver|efi_rom|efi_runtime_driver|nativeposix|windows)(,\d+(\.\d+)?)?', value) is None:
raise InvalidArguments('Invalid value for win_subsystem: {}.'.format(value))
|
It was actually missing a pipe character. Should be fixed now. |
Yea I re-checked the |
Describe the bug
Meson assumes a binary state of affairs when building Windows applications based on
the
gui_app
kwarg: either you're building a GUI app or you're building a console app.This is translated to either a
/SUBSYSTEM:WINDOWS
or a/SUBSYSTEM:CONSOLE
in the ninja files respectively. The reality is that
link
supports a variety of differentsubsystems ranging from kernel drivers to EFI applications and drivers which are not buildable
with meson because of this.
To Reproduce
I don't think this requires any specific project files for reproduction as the outlined behavior
should be apparent by opening the generated
build.ninja
of any Windows application project.Expected behavior
Meson features a
subsystem
kwarg inexecutable
that allows the user to select betweenone of the subsystems supported by
link
.system parameters
The text was updated successfully, but these errors were encountered: