source: EcnlProtoTool/trunk/mruby-2.1.1/mrbgems/mruby-bin-config/mruby-config.bat@ 439

Last change on this file since 439 was 439, checked in by coas-nagasima, 4 years ago

mrubyを2.1.1に更新

File size: 969 bytes
Line 
1@echo off
2
3:top
4shift
5if "%0" equ "" goto :eof
6if "%0" equ "--cflags" goto cflags
7if "%0" equ "--ldflags" goto ldflags
8if "%0" equ "--ldflags-before-libs" goto ldflagsbeforelibs
9if "%0" equ "--libs" goto libs
10if "%0" equ "--libmruby-path" goto libmrubypath
11if "%0" equ "--help" goto showhelp
12echo Invalid Option
13goto :eof
14
15:cflags
16echo MRUBY_CFLAGS
17goto top
18
19:libs
20echo MRUBY_LIBS
21goto top
22
23:ldflags
24echo MRUBY_LDFLAGS
25goto top
26
27:ldflagsbeforelibs
28echo MRUBY_LDFLAGS_BEFORE_LIBS
29goto top
30
31:libmrubypath
32echo MRUBY_LIBMRUBY_PATH
33goto top
34
35:showhelp
36echo Usage: mruby-config [switches]
37echo switches:
38echo --cflags print flags passed to compiler
39echo --ldflags print flags passed to linker
40echo --ldflags-before-libs print flags passed to linker before linked libraries
41echo --libs print linked libraries
42echo --libmruby-path print libmruby path
Note: See TracBrowser for help on using the repository browser.