Re: Static linking, specifying binary and test-library folder

2019-12-24 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 24 December 2019 at 05:51:37 UTC, Adnan wrote: Hello, how does one: 1. Force static linking (build with `-defaultlib` flag) Generally, when you don't see a buildOption in the docs for the compiler flag you want, use dflags. https://dub.pm/package-format-json.html 2. Specify

Static linking, specifying binary and test-library folder

2019-12-23 Thread Adnan via Digitalmars-d-learn
Hello, how does one: 1. Force static linking (build with `-defaultlib` flag) 2. Specify binary file generated by the `dub buid` command 3. Specify binary file generated by the `dub test` command in the `dub.json` file?