Class: Rscons::Script::TopLevelDsl

Inherits:
GlobalDsl
  • Object
show all
Defined in:
lib/rscons/script.rb

Overview

Top-level DSL available to the Rsconscript.

Instance Method Summary collapse

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

Whether to automatically configure (default true).



357
358
359
# File 'lib/rscons/script.rb', line 357

def autoconf(autoconf)
  @script.autoconf = autoconf
end

#project_name(project_name) ⇒ Object

Set the project name.



352
353
354
# File 'lib/rscons/script.rb', line 352

def project_name(project_name)
  @script.project_name = project_name
end