premake/modules/d
2017-04-26 03:40:43 +10:00
..
actions Cleaned up inconsistencies in whitespace 2017-04-26 03:40:43 +10: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 Refactor language flags to go through the language API. 2017-04-11 12:43:58 -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" }