Module: Ruby::Procedural
- Defined in:
- lib/ruby-procedural.rb,
lib/ruby-procedural/version.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
- .get_deps_inc_path ⇒ Object
- .get_deps_lib_path ⇒ Object
- .get_inc_flags ⇒ Object
- .get_lib_flags ⇒ Object
- .get_top_path ⇒ Object
Class Method Details
.get_deps_inc_path ⇒ Object
13 14 15 |
# File 'lib/ruby-procedural.rb', line 13 def self.get_deps_inc_path "#{get_top_path()}/deps/include" end |
.get_deps_lib_path ⇒ Object
9 10 11 |
# File 'lib/ruby-procedural.rb', line 9 def self.get_deps_lib_path "#{get_top_path}/deps/lib" end |
.get_inc_flags ⇒ Object
17 18 19 20 |
# File 'lib/ruby-procedural.rb', line 17 def self.get_inc_flags flags = "-I#{get_top_path}/deps/include/OgreProcedural/" return flags end |
.get_lib_flags ⇒ Object
22 23 24 25 |
# File 'lib/ruby-procedural.rb', line 22 def self.get_lib_flags flags = "-L#{get_top_path}/deps/lib -lOgreProcedural" return flags end |
.get_top_path ⇒ Object
5 6 7 |
# File 'lib/ruby-procedural.rb', line 5 def self.get_top_path File.dirname(File.dirname(File.(__FILE__))) end |