るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.098秒)

別のキーワード

  1. dir chdir
  2. dir open
  3. dir foreach
  4. dir each_child
  5. rake original_dir

ライブラリ

モジュール

検索結果

Kernel#dir_config(target, idefault = nil, ldefault = nil) -> [String, String] (18108.0)

configure オプション --with-TARGET-dir, --with-TARGET-include, --with-TARGET-lib をユーザが extconf.rb に指定できるようにします。

...ldefault システム標準ではないライブラリのディレクトリのデフォルト値を指定します。


require 'mkmf'
# xml2 の configure オプションを指定できるようにします。
xml2_dirs = dir_config('xml2', '/opt/local/include/libxml2', '/opt/local/lib')...

Kernel#mkmf -> () (7.0)

mkmf を使って Makefile を作成します。

...mkmf を使って Makefile を作成します。

ruby -run -e mkmf -- [OPTION] EXTNAME [OPTION]

-d ARGS run dir_config
-h ARGS run have_header
-l ARGS run have_library
-f ARGS run have_func
-v ARGS run have_var
-t ARGS run have_type
-m ARGS run have_macro
-c ARGS run have_const...