digitalmars.D.learn - How can I specify flags for the compiler when --build=release in dub?
On Friday, 15 January 2021 at 17:02:32 UTC, Jack wrote:is this possible? if so, how?You can add extra options for for platform and compiler, and IIRC for build type too. For example like this for lflags, it might complain about the order so just follow the instructions. "lflags-debug" "lflags-windows-debug" "lflags-linux-ldc2-release" "lflags-windows-x86_64-dmd-debug"
Jan 15 2021