Class: SystemType
- Inherits:
-
Object
- Object
- SystemType
- Defined in:
- lib/makeconf/systemtype.rb
Overview
Detect the build system type and allow for cross-compilation
Constant Summary collapse
- @@build =
FIXME: detect ‘build’ properly
RbConfig::CONFIG['host_os']
- @@host =
nil
- @@target =
nil
Class Method Summary collapse
Class Method Details
.build ⇒ Object
23 24 25 |
# File 'lib/makeconf/systemtype.rb', line 23 def SystemType.build @@build end |
.host ⇒ Object
27 28 29 |
# File 'lib/makeconf/systemtype.rb', line 27 def SystemType.host @@host end |
.target ⇒ Object
31 32 33 |
# File 'lib/makeconf/systemtype.rb', line 31 def SystemType.target @@target end |