Re: How hide console in dub.sdl under windows 11?

2023-05-25 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 26/05/2023 2:21 AM, ryuukk_ wrote: dub is too dumb, i think "sourceFiles" only accept .d Thats not true at all, its aware of what is a linker file and passes that off to the linker automatically: https://github.com/dlang/dub/blob/6dd0508d90b3c072e26fcd59fedd757205603071/source/dub/compile

Re: How hide console in dub.sdl under windows 11?

2023-05-25 Thread ryuukk_ via Digitalmars-d-learn
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

Re: How hide console in dub.sdl under windows 11?

2023-05-25 Thread a11e99z via Digitalmars-d-learn
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. red

How hide console in dub.sdl under windows 11?

2023-05-25 Thread John Xu via Digitalmars-d-learn
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.