This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/modules/d
2017-04-25 16:41:30 +10:00
..
actions Add 'supports_language' callback to action to validate languages now that we have multiple dialects 2017-04-24 13:37:28 -07:00
tests Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
tools Increased consistency of p. usage 2017-04-25 16:41:30 +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" }