Class: Mkmf::Lite::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mkmf/lite.rb

Overview

Stores process-wide defaults for compiler probe commands.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



23
24
25
26
27
28
29
# File 'lib/mkmf/lite.rb', line 23

def initialize
  @compiler = nil
  @include_dirs = []
  @lib_dirs = []
  @cflags = []
  @ldflags = []
end

Instance Attribute Details

#cflagsObject

Returns the value of attribute cflags.



21
22
23
# File 'lib/mkmf/lite.rb', line 21

def cflags
  @cflags
end

#compilerObject

Returns the value of attribute compiler.



20
21
22
# File 'lib/mkmf/lite.rb', line 20

def compiler
  @compiler
end

#include_dirsObject

Returns the value of attribute include_dirs.



21
22
23
# File 'lib/mkmf/lite.rb', line 21

def include_dirs
  @include_dirs
end

#ldflagsObject

Returns the value of attribute ldflags.



21
22
23
# File 'lib/mkmf/lite.rb', line 21

def ldflags
  @ldflags
end

#lib_dirsObject

Returns the value of attribute lib_dirs.



21
22
23
# File 'lib/mkmf/lite.rb', line 21

def lib_dirs
  @lib_dirs
end