Class: Rscons::Script::TopLevelDsl
- Defined in:
- lib/rscons/script.rb
Overview
Top-level DSL available to the Rsconscript.
Instance Method Summary collapse
-
#autoconf(autoconf) ⇒ Object
Set whether to automatically configure (default true).
-
#project_name(project_name) ⇒ Object
Set the project name.
Methods inherited from GlobalDsl
#build_dir, #download, #env, #glob, #initialize, #param, #path_append, #path_components, #path_prepend, #path_set, #rscons, #sh, #task, #variant, #variant_enabled?, #variant_group, #with_variants
Constructor Details
This class inherits a constructor from Rscons::Script::GlobalDsl
Instance Method Details
#autoconf(autoconf) ⇒ Object
Set whether to automatically configure (default true).
416 417 418 |
# File 'lib/rscons/script.rb', line 416 def autoconf(autoconf) @script.autoconf = autoconf end |
#project_name(project_name) ⇒ Object
Set the project name.
408 409 410 |
# File 'lib/rscons/script.rb', line 408 def project_name(project_name) @script.project_name = project_name end |