OpenSubdiv icon indicating copy to clipboard operation
OpenSubdiv copied to clipboard

CMake modules & config

Open manuelk opened this issue 9 years ago • 3 comments

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)

manuelk avatar Dec 18 '15 23:12 manuelk

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.

thomthom avatar Feb 03 '16 10:02 thomthom

Filed as internal issue #151664.

jtran56 avatar Sep 30 '17 01:09 jtran56

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.

dracwyrm avatar Sep 30 '17 07:09 dracwyrm