How hide console in dub.sdl under windows 11?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri May 26 02:16:46 UTC 2023


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/compilers/utils.d#L43

This should work with .def, if it doesn't there is a bug and needs 
reporting.

https://github.com/dlang/dub/blob/6dd0508d90b3c072e26fcd59fedd757205603071/source/dub/generators/build.d#L632


More information about the Digitalmars-d-learn mailing list