Explorar o código

Make sure ctkDICOMAbstractThumbnailGenerator is not wrapped

* Since class having virtual pure method can't be instantiated, we need
to make it's not wrapped.

* Ideally we should fix the wrapping macro which are suppose to discover
if a class has virtual pure method.
Jean-Christophe Fillion-Robin %!s(int64=14) %!d(string=hai) anos
pai
achega
b483166170
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      Libs/DICOM/Core/CMakeLists.txt

+ 6 - 0
Libs/DICOM/Core/CMakeLists.txt

@@ -33,6 +33,12 @@ SET(KIT_SRCS
   ctkDICOMFilterProxyModel.h
 )
 
+# Abstract class should not be wrapped !
+SET_SOURCE_FILES_PROPERTIES(
+  ctkDICOMAbstractThumbnailGenerator.h
+  WRAP_EXCLUDE
+  )
+
 IF(CTK_WRAP_PYTHONQT_LIGHT)
   LIST(APPEND KIT_SRCS
     ctkDICOMCorePythonQtDecorators.h