Configuring Descent
This step is just to let Descent know where it can find an object.d (or object.di) file, along with a standard library. You can always [add a standard library as any normal include path.
Configuring a D compiler will allow you to specify a standard library to use for all your project, unless you explicitly don't want to by removing it from a project. The compiler can be DMD or GDC. Descent doesn't currently use it to compile, just to know where a standard library is (although it might use it in next releases to compile the files for you).
If you are developing Phobos or Tango, you can skip this step, since the standard library is your project:
- Go to Windows -> Preferences.
- Go to D -> Installed Compilers.
- Click on "Add..."
- Select the path to where the "bin" folder of your compiler is located.
- If no standard library is found (e.g. phobos), you need to add an include path to the standard library.
- Optionally you can add include paths which you always use, although it's recommended to add include paths per project.
Next, you need to tell Descent how it will compile for the purposes of semantic analysis:
- Go to D -> Compiler.
- Here you can select the version and debug levels and identifiers.
- You can also decide to hide semantic errors, show some, or all (both "some" and "all" are experimental features, and most of the time will probably not work well).
- If some or all semantic errors are shown, you can select to use deprecated members and/or show warnings.
