How does one set compiler options in DlangIDE?

Vadim Lopatin via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Tue Jun 28 00:44:47 PDT 2016


On Sunday, 19 June 2016 at 22:00:32 UTC, WhatMeWorry wrote:
>
>
> I've poked and prodded in all the windows, but I can't find 
> anything.  I compile with dmd but I can't even add a 
> -Ithis/is/a/path to the compiler.
>
> Running (in 
> /home/generic/.dub/packages/dlangide-0.6.12/workspaces/sample1/sampleproject2): /home/generic/dlang/dub/dub build --force --build-mode=allAtOnce --build=debug
> Performing "debug" build using dmd for x86_64.
> sampleproject2 ~master: building configuration "application"...
> source/exlib/files.d(23,16): Error: module logger is in file 
> 'dlangui/core/logger.d' which cannot be read
> import path[0] = source/
> import path[1] = 
> /home/generic/dlang/dmd-2.071.0/linux/bin64/../../src/phobos
> import path[2] = 
> /home/generic/dlang/dmd-2.071.0/linux/bin64/../../src/druntime/import
> dmd failed with exit code 1.
> Builder finished with result 2
>
> I've played with
> Project > Project Settings > Build and
> Project > Project Settings > Run and Debug
>
> But no matter what I put in the fields, I don't see any changes 
> to the command line.

DlangIDE uses DUB for building projects.
If dub build works for your project, DlangIDE should compile it 
ok, too.
If does not, you need to modify dub.json



More information about the Digitalmars-d-ide mailing list