Class: BuildTool::BuildSystem::None
- 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
-
#check_install_prefix ⇒ Object
We have no buildsystem so we need no install prefix.
-
#cmake(command, wd = build_directory) ⇒ Object
Execute a cmake command in the context of the build directory.
- #configure ⇒ Object
-
#configured? ⇒ Boolean
Check if the module is configured.
-
#initialize(*args) ⇒ None
constructor
A new instance of None.
- #install(fast) ⇒ Object
- #install_fast_supported? ⇒ Boolean
- #make(target = nil) ⇒ Object
- #name ⇒ Object
-
#reconfigure ⇒ Object
Configure the module.
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, #remove_source_directory, #set, #source_directory, #to_s
Constructor Details
#initialize(*args) ⇒ None
Returns a new instance of None.
16 17 18 |
# File 'lib/build-tool/build-system/none.rb', line 16 def initialize( *args ) super( *args ) end |
Instance Method Details
#check_install_prefix ⇒ Object
We have no buildsystem so we need no install prefix
43 44 45 |
# File 'lib/build-tool/build-system/none.rb', line 43 def check_install_prefix true end |
#cmake(command, wd = build_directory) ⇒ Object
Execute a cmake command in the context of the build directory
48 49 50 |
# File 'lib/build-tool/build-system/none.rb', line 48 def cmake( command, wd = build_directory ) 0 end |
#configure ⇒ Object
52 53 54 |
# File 'lib/build-tool/build-system/none.rb', line 52 def configure 0 end |
#configured? ⇒ Boolean
Check if the module is configured
25 26 27 |
# File 'lib/build-tool/build-system/none.rb', line 25 def configured? true end |
#install(fast) ⇒ Object
56 57 58 |
# File 'lib/build-tool/build-system/none.rb', line 56 def install( fast ) 0 end |
#install_fast_supported? ⇒ Boolean
60 61 62 |
# File 'lib/build-tool/build-system/none.rb', line 60 def install_fast_supported? true end |
#make(target = nil) ⇒ Object
64 65 66 |
# File 'lib/build-tool/build-system/none.rb', line 64 def make( target = nil ) 0 end |
#name ⇒ Object
29 30 31 |
# File 'lib/build-tool/build-system/none.rb', line 29 def name "none" end |
#reconfigure ⇒ Object
Configure the module
38 39 40 |
# File 'lib/build-tool/build-system/none.rb', line 38 def reconfigure() 0 end |