Bläddra i källkod

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 14 år sedan
förälder
incheckning
b483166170
1 ändrade filer med 6 tillägg och 0 borttagningar
  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