Class: BuildTool::BuildSystem::None

Inherits:
Base
  • Object
show all
Includes:
MJ::Tools::SubProcess
Defined in:
lib/build-tool/build-system/none.rb

Instance Attribute Summary

Attributes inherited from Base

#defaults, #feature, #module, #out_of_source

Instance Method Summary collapse

Methods inherited from Base

#[], #[]=, #active?, #after_rebase, #append, #build_directory, #check_build_directory, #dup, #env, #install_prefix, #option_hash, #option_names, #option_set?, #parent, #prepare_for_installation, #prepend, #progressbar, #recipe, #remove_build_directory, #set, #source_directory, #to_s

Constructor Details

#initialize(*args) ⇒ None

Returns a new instance of None.



14
15
16
# File 'lib/build-tool/build-system/none.rb', line 14

def initialize( *args )
    super( *args )
end

Instance Method Details

#check_install_prefixObject

We have no buildsystem so we need no install prefix



41
42
43
# File 'lib/build-tool/build-system/none.rb', line 41

def check_install_prefix
    true
end

#cmake(command, wd = build_directory) ⇒ Object

Execute a cmake command in the context of the build directory



46
47
48
# File 'lib/build-tool/build-system/none.rb', line 46

def cmake( command, wd = build_directory )
    0
end

#configureObject



50
51
52
# File 'lib/build-tool/build-system/none.rb', line 50

def configure
    0
end

#configured?Boolean

Check if the module is configured

Returns:

  • (Boolean)


23
24
25
# File 'lib/build-tool/build-system/none.rb', line 23

def configured?
    true
end

#install(fast) ⇒ Object



54
55
56
# File 'lib/build-tool/build-system/none.rb', line 54

def install( fast )
    0
end

#install_fast_supported?Boolean

Returns:

  • (Boolean)


58
59
60
# File 'lib/build-tool/build-system/none.rb', line 58

def install_fast_supported?
    true
end

#make(target = nil) ⇒ Object



62
63
64
# File 'lib/build-tool/build-system/none.rb', line 62

def make( target = nil )
    0
end

#nameObject



27
28
29
# File 'lib/build-tool/build-system/none.rb', line 27

def name
    "none"
end

#reconfigureObject

Configure the module



36
37
38
# File 'lib/build-tool/build-system/none.rb', line 36

def reconfigure()
    0
end