premake/modules/d
2018-05-07 10:14:16 +02:00
..
actions Add support for mixed C++/D to premake D module 2018-05-07 10:14:16 +02:00
tests Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
tools Add support for mixed C++/D to premake D module 2018-05-07 10:14:16 +02:00
_manifest.lua Add support for mixed C++/D to premake D module 2018-05-07 10:14:16 +02:00
_preload.lua Add support for mixed C++/D to premake D module 2018-05-07 10:14:16 +02:00
d.lua Add support for mixed C++/D to premake D module 2018-05-07 10:14:16 +02: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" }