Include .def definition file information for the linker into a .d source file
Adam D Ruppe
destructionator at gmail.com
Wed Nov 24 17:19:06 UTC 2021
On Wednesday, 24 November 2021 at 17:14:42 UTC, Adam D Ruppe
wrote:
> https://dlang.org/spec/pragma.html#linkerDirective
example from my stuff:
import arsd.minigui;
pragma(linkerDirective, "/subsystem:windows");
pragma(linkerDirective, "/entry:mainCRTStartup");
that works with dmd -m32mscoff. need a wmainCRTStartup for ldc,
no entry at all for dmd -m32.
Maybe I should make this a tempalte in my library.......
More information about the Digitalmars-d-learn
mailing list