OpenSubdiv
OpenSubdiv copied to clipboard
CMake modules & config
It would be nice to:
- Wherever possible switch dependencies to git submodules (ex. glfw): users wouldn't have to locate, build & configure anymore for those
- Author an OpenSubdivConfig.cmake file so that OpenSubdiv itself can be embedded as a git module into other projects (glfw does this, but seems to be missing some pieces)
This sounds nice, especially the first point. I'm currently embedding OSD as a sub-module into my own project. I however split the build dir to be sibling to the sub-repo location. This let me set up preconfigured build dirs with OS scripts to execute cmake.
Filed as internal issue #151664.
You mean the auto download of dependencies? This violates the policy of some linux distros. If you do this, then you must have an easy way to disable this. Like set -DNO_GIT_MODULES="true" or something like that. Just one flag to set to disable the whole thing.