Added OSG_ENVVAR_SUPPORTED cmake control and bool osg::getEnvVar(const char* name, T& value, ...) conviniece funcions to make it easier to implement optinal getenv reading code.

This commit is contained in:
Robert Osfield
2017-11-01 13:32:47 +00:00
parent fb175eed14
commit 51a9c66856
3 changed files with 106 additions and 0 deletions

View File

@@ -34,5 +34,6 @@
#cmakedefine OSG_DISABLE_MSVC_WARNINGS
#cmakedefine OSG_PROVIDE_READFILE
#cmakedefine OSG_USE_DEPRECATED_API
#cmakedefine OSG_ENVVAR_SUPPORTED
#endif