diff options
| author | Amir Rajan <[email protected]> | 2020-10-13 00:45:16 -0500 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2020-10-13 00:48:54 -0500 |
| commit | 05cbef7fb8224332795e5685be499d81d20e7d93 (patch) | |
| tree | 13ec5f1755c2f45618741f2f016ed8729dbedd41 /samples/12_c_extensions/01_basics/pre.bat | |
| parent | abad948c1154d88d79b9f891e3b7315540e0b0a3 (diff) | |
| download | dragonruby-game-toolkit-contrib-05cbef7fb8224332795e5685be499d81d20e7d93.tar.gz dragonruby-game-toolkit-contrib-05cbef7fb8224332795e5685be499d81d20e7d93.zip | |
Synced with 1.26.
Diffstat (limited to 'samples/12_c_extensions/01_basics/pre.bat')
| -rw-r--r-- | samples/12_c_extensions/01_basics/pre.bat | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/samples/12_c_extensions/01_basics/pre.bat b/samples/12_c_extensions/01_basics/pre.bat index 3b3e27d..16befa3 100644 --- a/samples/12_c_extensions/01_basics/pre.bat +++ b/samples/12_c_extensions/01_basics/pre.bat @@ -1,4 +1,5 @@ set DRB_ROOT=..\..\..\ -md build.dir -%DRB_ROOT%\dragonruby-bind.exe --output=build.dir\ext-bind.c app\ext.c -clang -shared .\build.dir\ext-bind.c --sysroot=C:\mingw-w64\x86_64-8.1.0\mingw64 --target=x86_64-w64-mingw32 -fuse-ld=lld -isystem %DRB_ROOT%\include -I. -o build.dir\ext.lib +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 |
