diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-08-08 12:10:22 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 30865cf1a75a144629c6029ac55fbc744e330adf (patch) | |
tree | db3da8732b0a17045aa84985743873e9d8362123 /org | |
parent | 0.18.0 rename meta from ao (considered adr) (diff) |
maker.org makefile supported compilers, make all_builds_debug
- dmd ldc2 gdc
Diffstat (limited to 'org')
-rw-r--r-- | org/sdp.org | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/org/sdp.org b/org/sdp.org index 63557ed..5eb1364 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -17,6 +17,8 @@ [[../maker.org][maker.org makefile]] [[./][org/]] * 0. version.txt (set version) :version: +** set program version + #+NAME: version_txt #+BEGIN_SRC d :tangle ../views/version.txt /+ obt - org generated file +/ @@ -28,6 +30,25 @@ struct Version { enum ver = Version(0, 18, 0); #+END_SRC +#+NAME: version_txt + +** compilation restrictions (supported compilers) + +http://dlang.org/spec/version.html#predefined-versions + +#+BEGIN_SRC d :tangle ../views/version.txt +version (Posix) { + version (DigitalMars) { + } else version (LDC) { + } else version (GNU) { + } else { + static assert (0, "Unsupported D compiler"); + } +} else { + static assert (0, "Unsupported D compiler"); +} +#+END_SRC + * 1. sdp (sisu document parser) :sdp: - deal with imports |