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.
John Xu via Digitalmars-d-learn Thu, 25 May 2023 01:41:43 -0700
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.