7件ヒット
[1-7件を表示]
(0.027秒)
モジュール
- Kernel (7)
キーワード
-
dir
_ config (1) -
enable
_ config (2) -
try
_ cpp (2) -
with
_ config (2)
検索結果
先頭5件
- Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] - Kernel
# enable _ config(config , default) -> bool | String - Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String - Kernel
# try _ cpp(src , opt = "" , *opts) -> bool - Kernel
# try _ cpp(src , opt = "" , *opts) { . . . } -> bool
-
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (63127.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
# enable _ config(config , default) -> bool | String (63025.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 (63025.0) -
configure のオプションを検査します。
...義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# try _ cpp(src , opt = "" , *opts) -> bool (63025.0) -
C プログラムのソースコード src をプリプロセスします。
...イン引数として渡す値を指定します。
@return 問題なくプリプロセスできたら true を返します。
プリプロセスに失敗したら false を返します。
例:
require 'mkmf'
if try_cpp("#include <stdio.h>")
$stderr.puts "stdio.h exists"
end... -
Kernel
# try _ cpp(src , opt = "" , *opts) { . . . } -> bool (63025.0) -
C プログラムのソースコード src をプリプロセスします。
...イン引数として渡す値を指定します。
@return 問題なくプリプロセスできたら true を返します。
プリプロセスに失敗したら false を返します。
例:
require 'mkmf'
if try_cpp("#include <stdio.h>")
$stderr.puts "stdio.h exists"
end... -
Kernel
# with _ config(config , default = nil) -> bool | String (63025.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 (63025.0) -
configure のオプションを検査します。
...定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end...