Class: OgreConfig
- Inherits:
-
Object
- Object
- OgreConfig
- Defined in:
- lib/ogre_config.rb
Class Method Summary collapse
- .get_deps_inc_path ⇒ Object
- .get_deps_lib_path ⇒ Object
- .get_inc_flags ⇒ Object
- .get_ld_library_path ⇒ Object
- .get_lib_path ⇒ Object
- .get_plugin_folder ⇒ Object
- .get_resource_folder ⇒ Object
- .get_top_dir ⇒ Object
Class Method Details
.get_deps_inc_path ⇒ Object
14 15 16 |
# File 'lib/ogre_config.rb', line 14 def self.get_deps_inc_path "#{get_top_dir()}/deps/include" end |
.get_deps_lib_path ⇒ Object
10 11 12 |
# File 'lib/ogre_config.rb', line 10 def self.get_deps_lib_path "#{get_top_dir()}/deps/lib" end |
.get_inc_flags ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/ogre_config.rb', line 18 def self.get_inc_flags "-I#{get_top_dir()}/deps/include/OGRE/ " + "-I#{get_top_dir()}/deps/include/OGRE/GLX/ " + "-I#{get_top_dir()}/deps/include/OGRE/Paging/ " + "-I#{get_top_dir()}/deps/include/OGRE/RTShaderSystem/ " + "-I#{get_top_dir()}/deps/include/OGRE/Terrain " end |
.get_ld_library_path ⇒ Object
6 7 8 |
# File 'lib/ogre_config.rb', line 6 def self.get_ld_library_path "#{get_top_dir()}/deps/lib" end |
.get_lib_path ⇒ Object
26 27 28 |
# File 'lib/ogre_config.rb', line 26 def self.get_lib_path File.dirname(File.(__FILE__)) end |
.get_plugin_folder ⇒ Object
30 31 32 |
# File 'lib/ogre_config.rb', line 30 def self.get_plugin_folder "#{get_top_dir()}/deps/lib/OGRE" end |
.get_resource_folder ⇒ Object
34 35 36 |
# File 'lib/ogre_config.rb', line 34 def self.get_resource_folder "#{get_top_dir()}/deps/share/OGRE/media/" end |
.get_top_dir ⇒ Object
2 3 4 |
# File 'lib/ogre_config.rb', line 2 def self.get_top_dir File.dirname(File.dirname(File.(__FILE__))) end |