aboutsummaryrefslogtreecommitdiffhomepage
path: root/maker.org
diff options
context:
space:
mode:
Diffstat (limited to 'maker.org')
-rw-r--r--maker.org22
1 files changed, 11 insertions, 11 deletions
diff --git a/maker.org b/maker.org
index 61c0826..7aba886 100644
--- a/maker.org
+++ b/maker.org
@@ -16,7 +16,7 @@
* sdp makefile :makefile:
** TODO settings [+2] :settings:
*** alternative D compilers (dmd/ldc2/gdc) [+1] :compiler:
-**** [#A] dmd :dmd:
+**** dmd [#A] :dmd:
#+BEGIN_SRC makefile :tangle makefile
DMD=dmd
@@ -25,7 +25,7 @@ DMD_FLAGS_RELEASE=-O -release
DMD_FLAG_BINOF=-of
#+END_SRC
-**** [#A] ldc2 :ldc:
+**** ldc2 [#A] :ldc:
#+BEGIN_SRC makefile :tangle makefile
LDC=ldc2
@@ -52,7 +52,7 @@ RDMD=rdmd
RDMD_FLAGS=--build-only --compiler=
#+END_SRC
-**** [#A] dub :dub:
+**** dub [#A] :dub:
#+BEGIN_SRC makefile :tangle makefile
DUB=dub
@@ -225,7 +225,7 @@ makefile_new:
make -k tangle_maker
#+END_SRC
-***** dub build rebuild :dub:
+***** TODO dub build rebuild [#A] :dub:
#+BEGIN_SRC makefile :tangle makefile
dub: $(PRG_SRCDIR)/$(PRG_SRC)
@@ -430,7 +430,7 @@ gitsnapshot: distclean tangle
** dub :dub:description:
Every DUB package should contain a [[http://code.dlang.org/package-format?lang=json][dub.json]] (or [[http://code.dlang.org/package-format?lang=sdl][dub.sdl]])
-*** dub.sdl :sdl:
+*** dub.sdl [#A] :sdl:
#+BEGIN_SRC sh :tangle dub.sdl
name "sdp"
@@ -506,7 +506,7 @@ dflags platform="dmd" "-v --force -de -w -J./views -I./src/sdp -of./bin/s
dflags platform="dmd" "-O -release"
#buildOptions "-O -release"
-*** +dub.json+ :json:
+*** +dub.json+ :json:
**** +sdp+
#+BEGIN_SRC json :tangle no
@@ -526,7 +526,7 @@ dflags platform="dmd" "-O -release"
}
#+END_SRC
-**** +sdlang+ :sdlang:
+**** +sdlang+ :sdlang:
#+BEGIN_SRC json :tangle ./src/sdlang/dub.json
{
"name": "sdlang-d",
@@ -654,7 +654,7 @@ time dub --compiler=ldc2 -v --force
#+END_SRC
* D build notes :notes:
** compilers :compiler:
-*** [#A] dmd :dmd:
+*** dmd [#A] :dmd:
#+BEGIN_SRC sh
dmd -de -w -J./views -I./src/sdp -unittest -debug=checkdoc -debug=summary -debug=dumpdoc -of./bin/sdp ./src/sdp.d
@@ -662,7 +662,7 @@ dmd -de -w -J./views -I./src/sdp -of./bin/sdp ./src/sdp.d
dmd -de -w -J./views -I./src/sdp -O -release -of./bin/sdp ./src/sdp.d
#+END_SRC
-*** [#A] ldc2 :ldc2:
+*** ldc2 [#A] :ldc2:
#+BEGIN_SRC sh
ldc2 -de -w -J./views -I./src/sdp -unittest -d-debug=checkdoc -d-debug=summary -d-debug=dumpdoc -of=./bin/sdp ./src/sdp.d
@@ -684,7 +684,7 @@ not done
re: dmd "one can easily get 2x (and even more) speedup by simply switching to gdc -O2", ketmar
** build tools :build:tool:
-*** [#B] rdmd :rdmd:
+*** rdmd [#B] :rdmd:
flags similar to dmd
@@ -700,7 +700,7 @@ rdmd -de -w -J./views -I./src/sdp -unittest -debug=checkdoc -debug=summary -debu
rdmd -de -w -J./views -I./src/sdp -unittest -d-debug=checkdoc -d-debug=summary -d-debug=dumpdoc --compiler=ldc2 -of./bin/sdp ./src/sdp.d
#+END_SRC
-*** [#A] dub :dub:
+*** dub [#A] :dub:
https://github.com/dlang/dub/
http://code.dlang.org/getting_started
http://code.dlang.org/docs/commandline