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
Tom van Dijck d285fa68a6 Refactor language flags to go through the language API.
So you can use 'language "C++11"' instead of 'flags { "C++11" }'
2017-04-11 12:43:58 -07:00
..
actions Refactor language flags to go through the language API. 2017-04-11 12:43:58 -07:00
tests Move core modules into main repository; drop submodules 2016-11-09 14:29:33 -05:00
tools Move core modules into main repository; drop submodules 2016-11-09 14:29:33 -05: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 Move core modules into main repository; drop submodules 2016-11-09 14:29:33 -05: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" }