Module: Ruby::Ois
- Defined in:
- lib/ruby-ois.rb,
lib/ruby-ois/version.rb
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
- .get_deps_lib_path ⇒ Object
- .get_inc_flags ⇒ Object
- .get_lib_flags ⇒ Object
- .get_lib_path ⇒ Object
- .get_top_path ⇒ Object
Class Method Details
.get_deps_lib_path ⇒ Object
9 10 11 |
# File 'lib/ruby-ois.rb', line 9 def self.get_deps_lib_path "#{get_top_path}/deps/lib" end |
.get_inc_flags ⇒ Object
17 18 19 |
# File 'lib/ruby-ois.rb', line 17 def self.get_inc_flags "-I#{get_top_path}/deps/include/OIS " end |
.get_lib_flags ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/ruby-ois.rb', line 21 def self.get_lib_flags if (/mingw/ =~ RUBY_PLATFORM) return "-L#{get_top_path}/deps/lib/release -lOIS" else return "-L#{get_top_path}/deps/lib -lOIS" end end |
.get_lib_path ⇒ Object
13 14 15 |
# File 'lib/ruby-ois.rb', line 13 def self.get_lib_path File.dirname(File.(__FILE__)) end |
.get_top_path ⇒ Object
5 6 7 |
# File 'lib/ruby-ois.rb', line 5 def self.get_top_path File.dirname(File.dirname(File.(__FILE__))) end |