autodesk-forks / MaterialX

MaterialX C++ and Python libraries
http://www.materialx.org/
Apache License 2.0
107 stars 23 forks source link

Allow build to set custom namespace #1235

Closed bernardkwok closed 2 years ago

bernardkwok commented 3 years ago

To avoid possible clashes, it has been recommended to allow for custom namespace setting. Currently MaterialX has a hard-coded name space but this could be settable via a Cmake option as is done for OCIO. Then each integration can set it's own namespace to help avoid clashes if MaterialX is pulled in via multiple integrations.

kwokcb commented 2 years ago

This is a duplicate of https://github.com/materialx/MaterialX/issues/773, and is only kept here for local release tracking and assignment.