On Sunday, 21 May 2017 at 11:47:15 UTC, Mike Parker wrote:
So what I would try in your situation is to add three new configurations to the exeProject's dub.json. Use the "platforms" directive to limit one to "windows-x86", another to "windows-x86_64", and leave the other one empty. List the empty one last and it should become the default on non-Windows platforms. Move your preBuildCommands directive to the windows-x86 configuration, and copy it to the windows-x86_64 configuration with the addition of "-ax86_64" to the "dub build" command.

Thanks for the suggestion Mike. I just added this for now and it works:

    "preBuildCommands-x86_64": ["cd game & dub build -ax86_64"],
    "preBuildCommands-x86": ["cd game & dub build"],

Reply via email to