Groogy / rbSFML

Ruby bindings to SFML
Other
44 stars 5 forks source link

Use Relative Paths for rbSFML Includes #48

Closed silverhammermba closed 11 years ago

silverhammermba commented 11 years ago

Fixes #40.

rbSFML adds the ext folder to the compiler's includes path so that rbSFML headers can be included using their path relative to ext. This is convenient but fragile: since many of rbSFML's headers have the same names as their SFML equivalents, the build only succeeds if the compiler searches its header paths in the correct order.

This pull changes that, so all rbSFML-specific headers are included using relative paths. This is slightly more clunky, but it also makes rbSFML more independent of compiler-specific features.