summaryrefslogtreecommitdiffhomepage
path: root/samples/12_c_extensions/03_native_pixel_arrays/pre.bat
blob: 16befa3f8f88b706a54ae6656ac80eb082d53f88 (plain)
1
2
3
4
5
set DRB_ROOT=..\..\..\
md native
md native\windows-amd64
%DRB_ROOT%\dragonruby-bind.exe --output=native\ext-bind.c app\ext.c
clang -shared .\native\ext-bind.c --sysroot=C:\mingw-w64\mingw64 --target=x86_64-w64-mingw32 -fuse-ld=lld -isystem %DRB_ROOT%\include -I. -o native\windows-amd64\ext.dll