Class: Bake::Plugins::Cpp::Executable
- Includes:
- MainTarget
- Defined in:
- lib/bake/plugins/cpp.rb
Instance Attribute Summary
Attributes inherited from Target
#children, #deps, #name, #parent, #posts, #toolset
Instance Method Summary collapse
- #post_initialize(name) ⇒ Object
-
#run_command ⇒ Object
Enables
Executable
to be run via aRunner
target.
Methods included from MainTarget
Methods inherited from Target
#add_dep, #build_r, #built?, #clean, #clean_r, #current_project, #dep, #initialize, #mtimes, #post, #products, #stale?, #to_s
Methods included from Configuration
#[], #default, #get, #has_prop?, #is?, #opt
Constructor Details
This class inherits a constructor from Bake::Target
Instance Method Details
#post_initialize(name) ⇒ Object
71 72 73 74 |
# File 'lib/bake/plugins/cpp.rb', line 71 def post_initialize(name) @name = name default(:debug_symbols? => false) end |
#run_command ⇒ Object
Enables Executable
to be run via a Runner
target.
77 78 79 |
# File 'lib/bake/plugins/cpp.rb', line 77 def run_command return toolset.exe_fn(self) end |