Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/premake/premake-dlang
https://github.com/premake/premake-dlang
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/premake/premake-dlang
- Owner: premake
- License: bsd-3-clause
- Archived: true
- Created: 2015-03-21T16:15:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-16T16:24:13.000Z (about 8 years ago)
- Last Synced: 2024-10-29T20:15:49.713Z (about 2 months ago)
- Language: Lua
- Size: 93.8 KB
- Stars: 2
- Watchers: 6
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-d - premake - Premake has built-in support for D projects (Build Tools / Bare metal / kernel development)
README
### This repository is no longer active! ###
This repository has been merged with the [main premake-core source code](https://github.com/premake/premake-core). It will be deleted once everyone has had a chance to get switched over to the new location (probably Jan 2017).
----------------------------------------------------
Premake Extension to support the [D](http://dlang.org) language
### Features ###
* Support actions: gmake, vs20xx (VisualD)
* Support all compilers; DMD, LDC, GDC
* Support combined and separate compilation### Usage ###
Simply add:
```lua
language "D"
```
to your project definition and populate with .d files.### APIs ###
* [flags](https://github.com/premake/premake-dlang/wiki/flags)
* CodeCoverage
* Deprecated
* Documentation
* GenerateHeader
* GenerateJSON
* GenerateMap
* NoBoundsCheck
* Profile
* Quiet
* RetainPaths
* SeparateCompilation
* SymbolsLikeC
* UnitTest
* Verbose
* [versionconstants](https://github.com/premake/premake-dlang/wiki/versionconstants)
* [versionlevel](https://github.com/premake/premake-dlang/wiki/versionlevel)
* [debugconstants](https://github.com/premake/premake-dlang/wiki/debugconstants)
* [debuglevel](https://github.com/premake/premake-dlang/wiki/debuglevel)
* [docdir](https://github.com/premake/premake-dlang/wiki/docdir)
* [docname](https://github.com/premake/premake-dlang/wiki/docname)
* [headerdir](https://github.com/premake/premake-dlang/wiki/headerdir)
* [headername](https://github.com/premake/premake-dlang/wiki/headername)### Example ###
The contents of your premake5.lua file would be:
```lua
solution "MySolution"
configurations { "release", "debug" }project "MyDProject"
kind "ConsoleApp"
language "D"
files { "src/main.d", "src/extra.d" }
```