Jef 20d28e80a5 Initial community commit | 2 months ago | |
---|---|---|
.. | ||
actions | 2 months ago | |
tests | 2 months ago | |
tools | 2 months ago | |
LICENSE.txt | 2 months ago | |
README.md | 2 months ago | |
_manifest.lua | 2 months ago | |
_preload.lua | 2 months ago | |
d.lua | 2 months ago |
Premake Extension to support the D language
Simply add:
language "D"
to your project definition and populate with .d files.
C and C++ projects that include .d files will also support some of the API below. Any API tagged with (D/C/C++) works in D and C/C++ projects. Any API tagged with (C/C++) only works for .d files in C/C++ projects.
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" }