]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/CMakeLists.txt
Widget integration (step 3/6). WARNING: IT DOES NOT COMPILE YET
[cpPlugins.git] / lib / cpPlugins / Interface / CMakeLists.txt
index 8ee622177e320c774d787591844a42170ef01ad2..a607fcad7fe3dd540ba3d786003df446c8a2c2bc 100644 (file)
@@ -10,68 +10,14 @@ CONFIGURE_FILE(
 ## = Source code =
 ## ===============
 
-SET(
-  LIB_HEADERS_H
-  BaseProcessObjects.h
-  DataObject.h
-  Image.h
-  ImplicitFunction.h
-  Interface.h
-  Macros.h
-  Mesh.h
-  Object.h
-  Parameters.h
-  ProcessObject.h
-  )
-
-SET(
-  LIB_HEADERS_HPP
-  )
-
-SET(
-  LIB_HEADERS_HXX
-  Image.hxx
-  ImplicitFunction.hxx
-  Mesh.hxx
-  Parameters.hxx
-  ProcessObject.hxx
-  )
-
-SET(
-  LIB_SOURCES_C
-  )
-SET(
-  LIB_SOURCES_CPP
-  )
-
-SET(
-  LIB_SOURCES_CXX
-  Instances_itkImage.cxx
-  Instances_itkVectorImage.cxx
-  Instances_itkMesh.cxx
-  BaseProcessObjects.cxx
-  DataObject.cxx
-  Image.cxx
-  ImplicitFunction.cxx
-  Interface.cxx
-  Mesh.cxx
-  Object.cxx
-  Parameters.cxx
-  ProcessObject.cxx
-  )
+FILE(GLOB LIB_HEADERS_H   "*.h")
+FILE(GLOB LIB_HEADERS_HPP "*.hpp")
+FILE(GLOB LIB_HEADERS_HXX "*.hxx")
+FILE(GLOB LIB_SOURCES_C   "*.c")
+FILE(GLOB LIB_SOURCES_CPP "*.cpp")
+FILE(GLOB LIB_SOURCES_CXX "*.cxx")
 
 IF(USE_QT4)
-  SET(
-    LIB_HEADERS_H
-    ${LIB_HEADERS_H}
-    ParametersQtDialog.h
-    )
-  SET(
-    LIB_SOURCES_CXX
-    ${LIB_SOURCES_CXX}
-    ParametersQtDialog.cxx
-    )
-
   SET(
     LIB_QT_UI
     ParametersListWidget.ui