286件ヒット
[1-100件を表示]
(0.448秒)
種類
- インスタンスメソッド (165)
- 変数 (121)
モジュール
- Kernel (286)
キーワード
-
$ CFLAGS (11) -
$ LDFLAGS (11) -
$ archdir (11) -
$ defs (11) -
$ hdrdir (11) -
$ libdir (11) -
$ libs (11) -
$ sitearchdir (11) -
$ sitelibdir (11) -
$ srcdir (11) -
$ topdir (11) -
arg
_ config (11) -
cc
_ command (11) -
cpp
_ command (11) -
create
_ header (11) -
create
_ tmpsrc (11) -
dir
_ config (11) -
dummy
_ makefile (11) -
enable
_ config (22) -
find
_ executable (11) - libpathflag (11)
-
link
_ command (11) -
merge
_ libs (11) -
with
_ config (22)
検索結果
先頭5件
- Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] - Kernel
# arg _ config(config , default) { . . . } -> object | String | true | nil - Kernel
# enable _ config(config , default) -> bool | String - Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String - Kernel
# with _ config(config , default = nil) -> bool | String
-
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (404.0) -
configure オプション --with-TARGET-dir, --with-TARGET-include, --with-TARGET-lib をユーザが extconf.rb に指定できるようにします。
...。
@param ldefault システム標準ではないライブラリのディレクトリのデフォルト値を指定します。
例
require 'mkmf'
# xml2 の configure オプションを指定できるようにします。
xml2_dirs = dir_config('xml2', '/opt/local/include/libxml2', '/opt/l... -
Kernel
# arg _ config(config , default) { . . . } -> object | String | true | nil (303.0) -
configure オプション --config の値を返します。
...default 引数 config で指定したオプションのデフォルト値を指定します。
@return オプションが指定されてた場合は true を、指定されなかった場合は
nil を返します。
引数 default、あるいはブロックを指定すると、オ......ンに引数が指定されていた場合は指定した文字列を返します。
例えば extconf.rb で arg_config メソッドを使う場合、
$ ruby extconf.rb --foo --bar=baz
と実行したとき、arg_config("--foo") の値は true、
arg_config("--bar") の値は "baz" です。... -
Kernel
# enable _ config(config , default) -> bool | String (204.0) -
configure のオプションを検査します。
...義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String (204.0) -
configure のオプションを検査します。
...義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# with _ config(config , default = nil) -> bool | String (204.0) -
configure のオプションを検査します。
...定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String (204.0) -
configure のオプションを検査します。
...定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# cc _ command(opt = "") -> String (203.0) -
実際にコンパイルする際に使用するコマンドを返します。
実際にコンパイルする際に使用するコマンドを返します。
@param opt コンパイラに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# cpp _ command(outfile , opt = "") -> String (203.0) -
実際にプリプロセッサを実行する際に使用するコマンドを返します。
実際にプリプロセッサを実行する際に使用するコマンドを返します。
@param outfile 出力ファイルの名前を指定します。
@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# create _ header(header = "extconf . h") -> String (203.0) -
Kernel#have_func, Kernel#have_header などの検査結果を元に、 ヘッダファイルを生成します。
...eader ヘッダファイルの名前を指定します。
@return ヘッダファイルの名前を返します。
例
# extconf.rb
require 'mkmf'
have_func('realpath')
have_header('sys/utime.h')
create_header
create_makefile('foo')
上の extconf.rb は以下の extconf.h を生成... -
Kernel
# create _ tmpsrc(src) -> String (203.0) -
与えられた C プログラムのソースコードを一時ファイルに出力して与えられたソースコードを返します。
与えられた C プログラムのソースコードを一時ファイルに出力して与えられたソースコードを返します。
@param src C プログラムのソースコードを指定します。