Thread overview
How does one set compiler options in DlangIDE?
Jun 19, 2016
WhatMeWorry
Jun 27, 2016
Serge
Jun 28, 2016
Vadim Lopatin
Jun 28, 2016
Poukavele
Jun 28, 2016
Vadim Lopatin
June 19, 2016

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.
June 27, 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.
>
> [...]

try include that options in dub.sdl (dub.json)
June 28, 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

June 28, 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.

If dub build is working for the project, probably you are using 'rdmd' run, not dub one.
Use Ctrl+Shift+F5 or green triangle toolbar button instead of red triangle button.

June 28, 2016
On Tuesday, 28 June 2016 at 07:44:47 UTC, Vadim Lopatin wrote:
> On Sunday, 19 June 2016 at 22:00:32 UTC, WhatMeWorry wrote:
>> [...]
>
> 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

DUB switch: --compiler={dmd|gdc|ldc|gdmd|ldmd}

You have it for DUB projects in Coedit, e.g once set in the general options a DUB project is always compiled with the specified compiler.