Class: GNOME2::Rake::ExternalPackage::WindowsConfiguration
- Inherits:
-
Struct
- Object
- Struct
- GNOME2::Rake::ExternalPackage::WindowsConfiguration
- Defined in:
- lib/gnome2/rake/external-package.rb
Instance Attribute Summary collapse
-
#built_file ⇒ Object
readonly
Returns the value of attribute built_file.
-
#cc_args ⇒ Object
readonly
Returns the value of attribute cc_args.
-
#cmake_args ⇒ Object
readonly
Returns the value of attribute cmake_args.
-
#configure_args ⇒ Object
readonly
Returns the value of attribute configure_args.
-
#include_paths ⇒ Object
readonly
Returns the value of attribute include_paths.
-
#library_paths ⇒ Object
readonly
Returns the value of attribute library_paths.
-
#patches ⇒ Object
readonly
Returns the value of attribute patches.
Instance Method Summary collapse
- #build? ⇒ Boolean
- #build_concurrently? ⇒ Boolean
-
#initialize(properties) ⇒ WindowsConfiguration
constructor
A new instance of WindowsConfiguration.
- #need_autogen? ⇒ Boolean
- #need_autoreconf? ⇒ Boolean
- #use_cc_environment_variable? ⇒ Boolean
Constructor Details
#initialize(properties) ⇒ WindowsConfiguration
Returns a new instance of WindowsConfiguration.
127 128 129 130 131 132 |
# File 'lib/gnome2/rake/external-package.rb', line 127 def initialize(properties) super() properties.each do |key, value| send("#{key}=", value) end end |
Instance Attribute Details
#built_file ⇒ Object
Returns the value of attribute built_file
115 116 117 |
# File 'lib/gnome2/rake/external-package.rb', line 115 def built_file @built_file end |
#cc_args ⇒ Object
Returns the value of attribute cc_args
115 116 117 |
# File 'lib/gnome2/rake/external-package.rb', line 115 def cc_args @cc_args end |
#cmake_args ⇒ Object
Returns the value of attribute cmake_args
115 116 117 |
# File 'lib/gnome2/rake/external-package.rb', line 115 def cmake_args @cmake_args end |
#configure_args ⇒ Object
Returns the value of attribute configure_args
115 116 117 |
# File 'lib/gnome2/rake/external-package.rb', line 115 def configure_args @configure_args end |
#include_paths ⇒ Object
Returns the value of attribute include_paths
115 116 117 |
# File 'lib/gnome2/rake/external-package.rb', line 115 def include_paths @include_paths end |
#library_paths ⇒ Object
Returns the value of attribute library_paths
115 116 117 |
# File 'lib/gnome2/rake/external-package.rb', line 115 def library_paths @library_paths end |
#patches ⇒ Object
Returns the value of attribute patches
115 116 117 |
# File 'lib/gnome2/rake/external-package.rb', line 115 def patches @patches end |
Instance Method Details
#build? ⇒ Boolean
134 135 136 |
# File 'lib/gnome2/rake/external-package.rb', line 134 def build? build.nil? ? true : build end |
#build_concurrently? ⇒ Boolean
174 175 176 |
# File 'lib/gnome2/rake/external-package.rb', line 174 def build_concurrently? build_concurrently.nil? ? true : build_concurrently end |
#need_autogen? ⇒ Boolean
166 167 168 |
# File 'lib/gnome2/rake/external-package.rb', line 166 def need_autogen? need_autogen.nil? ? false : need_autogen end |
#need_autoreconf? ⇒ Boolean
170 171 172 |
# File 'lib/gnome2/rake/external-package.rb', line 170 def need_autoreconf? need_autoreconf.nil? ? false : need_autoreconf end |
#use_cc_environment_variable? ⇒ Boolean
178 179 180 |
# File 'lib/gnome2/rake/external-package.rb', line 178 def use_cc_environment_variable? use_cc_environment_variable.nil? ? true : use_cc_environment_variable end |