diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-06-25 06:37:22 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-04 14:48:18 -0400 |
commit | f0c845eba3718fd0c732aebf25eb33e689798e03 (patch) | |
tree | c2ea36e199950647b1d3cce153691bb8f4fec378 /maker.org | |
parent | step5.1 headers sdlang (like native headers) converted to json for common int... (diff) |
step6 headers (&config), native & sdlang to json internally
Diffstat (limited to 'maker.org')
-rw-r--r-- | maker.org | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 |