Last change
on this file since 272 was 270, checked in by coas-nagasima, 7 years ago |
mruby版ECNLプロトタイピング・ツールを追加
|
File size:
776 bytes
|
Rev | Line | |
---|
[270] | 1 | @echo off
|
---|
| 2 |
|
---|
| 3 | :top
|
---|
| 4 | shift
|
---|
| 5 | if "%0" equ "" goto :eof
|
---|
| 6 | if "%0" equ "--cflags" goto cflags
|
---|
| 7 | if "%0" equ "--ldflags" goto ldflags
|
---|
| 8 | if "%0" equ "--ldflags-before-libs" goto ldflagsbeforelibs
|
---|
| 9 | if "%0" equ "--libs" goto libs
|
---|
| 10 | if "%0" equ "--help" goto showhelp
|
---|
| 11 | echo Invalid Option
|
---|
| 12 | goto :eof
|
---|
| 13 |
|
---|
| 14 | :cflags
|
---|
| 15 | echo MRUBY_CFLAGS
|
---|
| 16 | goto top
|
---|
| 17 |
|
---|
| 18 | :libs
|
---|
| 19 | echo MRUBY_LIBS
|
---|
| 20 | goto top
|
---|
| 21 |
|
---|
| 22 | :ldflags
|
---|
| 23 | echo MRUBY_LDFLAGS
|
---|
| 24 | goto top
|
---|
| 25 |
|
---|
| 26 | :ldflagsbeforelibs
|
---|
| 27 | echo MRUBY_LDFLAGS_BEFORE_LIBS
|
---|
| 28 | goto top
|
---|
| 29 |
|
---|
| 30 | :showhelp
|
---|
| 31 | echo Usage: mruby-config [switches]
|
---|
| 32 | echo switches:
|
---|
| 33 | echo --cflags print flags passed to compiler
|
---|
| 34 | echo --ldflags print flags passed to linker
|
---|
| 35 | echo --ldflags-before-libs print flags passwd to linker before linked libraries
|
---|
| 36 | echo --libs print linked libraries
|
---|
Note:
See
TracBrowser
for help on using the repository browser.