diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-05-19 10:42:05 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-05-27 13:07:15 +0300 |
commit | 57aae2a35511e9c4e137016c33f3c44553375aeb (patch) | |
tree | 64cb56fd43296441f87702f8db37dbac46b11c77 /intern/opensubdiv/CMakeLists.txt | |
parent | c81a5f58f8bee9e592963d5e65a62d2a9eba7825 (diff) |
OpenSubdiv: Refactor, use C++ allocation for internal classes
Only use OBJECT_GUARDED_{NEW. DELETE} for structures which are part of
public C-API (and hence can not have new/delete operators overloaded).
Could try being brave and override new/delete from under C++ ifdef.
Diffstat (limited to 'intern/opensubdiv/CMakeLists.txt')
-rw-r--r-- | intern/opensubdiv/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/opensubdiv/CMakeLists.txt b/intern/opensubdiv/CMakeLists.txt index eae09bf5dd6..0bf3bbcb2b9 100644 --- a/intern/opensubdiv/CMakeLists.txt +++ b/intern/opensubdiv/CMakeLists.txt @@ -50,6 +50,9 @@ if(WITH_OPENSUBDIV) ) list(APPEND SRC + # Base. + internal/base/memory.h + # Device. internal/device/device_context_cuda.cc internal/device/device_context_cuda.h |