premake/modules/d
2017-05-03 17:05:11 -07:00
..
actions [core] Use 'cdialect' and 'cppdialect' instead of 'language'. 2017-05-03 17:05:11 -07:00
tests Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
tools Cleaned up inconsistencies in whitespace 2017-04-26 03:40:43 +10:00
_manifest.lua Move core modules into main repository; drop submodules 2016-11-09 14:29:33 -05:00
_preload.lua [core] Use 'cdialect' and 'cppdialect' instead of 'language'. 2017-05-03 17:05:11 -07:00
d.lua Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
LICENSE.txt Move core modules into main repository; drop submodules 2016-11-09 14:29:33 -05:00
README.md Move core modules into main repository; drop submodules 2016-11-09 14:29:33 -05:00

Premake Extension to support the D language

Features

  • Support actions: gmake, vs20xx (VisualD)
  • Support all compilers; DMD, LDC, GDC
  • Support combined and separate compilation

Usage

Simply add:

language "D"

to your project definition and populate with .d files.

APIs

Example

The contents of your premake5.lua file would be:

solution "MySolution"
    configurations { "release", "debug" }

    project "MyDProject"
        kind "ConsoleApp"
        language "D"
        files { "src/main.d", "src/extra.d" }