Skip to content

Instantly share code, notes, and snippets.

@ahmetsait
Created January 14, 2020 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmetsait/8bc1835f812fb70cbc31de6a5cf58bb4 to your computer and use it in GitHub Desktop.
Save ahmetsait/8bc1835f812fb70cbc31de6a5cf58bb4 to your computer and use it in GitHub Desktop.
set ds="dstep.exe" --normalize-modules=true -I"..\include"
set static_dir=static
set dynamic_dir=dynamic
%ds% -o %static_dir%\package.d hb.h
%ds% -o %static_dir%\blob.d hb-blob.h -DHB_H_IN
%ds% -o %static_dir%\buffer.d hb-buffer.h -DHB_H_IN
%ds% -o %static_dir%\common.d hb-common.h -DHB_H_IN
%ds% -o %static_dir%\deprecated_.d hb-deprecated.h -DHB_H_IN
%ds% -o %static_dir%\face.d hb-face.h -DHB_H_IN
%ds% -o %static_dir%\font.d hb-font.h -DHB_H_IN
%ds% -o %static_dir%\map.d hb-map.h -DHB_H_IN
%ds% -o %static_dir%\set.d hb-set.h -DHB_H_IN
%ds% -o %static_dir%\shape.d hb-shape.h -DHB_H_IN
%ds% -o %static_dir%\shape-plan.d hb-shape-plan.h -DHB_H_IN
%ds% -o %static_dir%\unicode.d hb-unicode.h -DHB_H_IN
%ds% -o %static_dir%\version_.d hb-version.h -DHB_H_IN
%ds% -o %static_dir%\subset.d hb-subset.h
%ds% -o %static_dir%\ot\package.d hb-ot.h
%ds% -o %static_dir%\ot\color.d hb-ot-color.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\deprecated_.d hb-ot-deprecated.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\font.d hb-ot-font.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\layout.d hb-ot-layout.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\math.d hb-ot-math.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\meta.d hb-ot-meta.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\metrics.d hb-ot-metrics.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\name.d hb-ot-name.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\shape.d hb-ot-shape.h -DHB_OT_H_IN
%ds% -o %static_dir%\ot\var.d hb-ot-var.h -DHB_OT_H_IN
%ds% -o %static_dir%\aat\package.d hb-aat.h
%ds% -o %static_dir%\aat\layout.d hb-aat-layout.h -DHB_AAT_H_IN
%ds% -o %static_dir%\coretext.d hb-coretext.h
%ds% -o %static_dir%\directwrite.d hb-directwrite.h
%ds% -o %static_dir%\ft.d hb-ft.h
%ds% -o %static_dir%\gdi.d hb-gdi.h
%ds% -o %static_dir%\glib.d hb-glib.h
%ds% -o %static_dir%\graphite2.d hb-graphite2.h
%ds% -o %static_dir%\icu.d hb-icu.h
%ds% -o %static_dir%\uniscribe.d hb-uniscribe.h
%ds% -o %static_dir%\gobject\package.d hb-gobject.h
%ds% -o %static_dir%\gobject\enums.d hb-gobject-enums.h -DHB_GOBJECT_H_IN
%ds% -o %static_dir%\gobject\structs.d hb-gobject-structs.h -DHB_GOBJECT_H_IN
set bd="binding-dynamizer.exe"
mkdir %dynamic_dir%\bind
%bd% -o %dynamic_dir%\bind -r -p "" -s hb_ -v BindHB_Static %static_dir% >> "%dynamic_dir%\loader.d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment