How hide console in dub.sdl under windows 11?
ryuukk_
ryuukk.dev at gmail.com
Thu May 25 14:21:28 UTC 2023
On Thursday, 25 May 2023 at 08:37:40 UTC, John Xu wrote:
> For dmd, I can use a no_console.def file, which has:
>
> EXETYPE NT
> SUBSYSTEM WINDOWS
>
>
> Then `dmd my.d no_console.def` to hide console.
>
> But how do I realize it with dub.sdl ? Adding no_console.def to
> "sourceFiles", doesn't help.
you can do that:
```json
"lflags-windows": [
"/SUBSYSTEM:windows",
],
```
dub is too dumb, i think "sourceFiles" only accept .d
More information about the Digitalmars-d-learn
mailing list