Compile and link C/C++ libs automatically

Robert M. Münch robert.muench at saphirion.com
Sat Dec 5 09:50:30 UTC 2020


On 3 Dec 2020 at 21:01:33 CET, "RSY" <rsy_881 at gmail.com> wrote:

> I still prefer to have it separate, so you can add specific 
> compilation flags or defines
> 
> But yes, making such feature easily accessible is the goal

No problem with Go. Just use:

// #cgo windows LDFLAGS: -v ...
// #cgo windows CFLAGS: -I ..

So you can even use target specific ones.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster




More information about the Digitalmars-d mailing list