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

Class Method Details

.get_deps_inc_pathObject



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_pathObject



9
10
11
# File 'lib/ruby-procedural.rb', line 9

def self.get_deps_lib_path
  "#{get_top_path}/deps/lib"
end

.get_inc_flagsObject



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_flagsObject



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_pathObject



5
6
7
# File 'lib/ruby-procedural.rb', line 5

def self.get_top_path
  File.dirname(File.dirname(File.expand_path(__FILE__)))
end