]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/CMakeLists.txt
...
[cpPlugins.git] / lib / cpPlugins / Interface / CMakeLists.txt
index f8a6ff7e336fff5b3846f02ca716991f1f1a4ed1..36dc3f8ae3cabfcf1458b65d030ae0eadc00217f 100644 (file)
@@ -4,12 +4,64 @@ SET(LIBRARY_NAME cpPlugins_Interface)
 ## = Source code =
 ## ===============
 
-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")
+SET(
+  LIB_HEADERS_H
+  BaseProcessObjects.h
+  DataObject.h
+  Image.h
+  Interface.h
+  Macros.h
+  Mesh.h
+  Object.h
+  Parameters.h
+  ProcessObject.h
+  )
+
+SET(
+  LIB_HEADERS_HPP
+  )
+
+SET(
+  LIB_HEADERS_HXX
+  Image.hxx
+  Mesh.hxx
+  Parameters.hxx
+  ProcessObject.hxx
+  )
+
+SET(
+  LIB_SOURCES_C
+  )
+SET(
+  LIB_SOURCES_CPP
+  )
+
+SET(
+  LIB_SOURCES_CXX
+  BaseProcessObjects.cxx
+  DataObject.cxx
+  Image.cxx
+  Instances_itkImage.cxx
+  Instances_itkMesh.cxx
+  Interface.cxx
+  Mesh.cxx
+  Object.cxx
+  Parameters.cxx
+  ProcessObject.cxx
+  )
+
+IF(USE_QT4)
+  SET(
+    LIB_HEADERS_H
+    ${LIB_HEADERS_H}
+    ParametersQtDialog.h
+    )
+  SET(
+    LIB_SOURCES_CXX
+    ${LIB_SOURCES_CXX}
+    ParametersQtDialog.cxx
+    )
+ENDIF(USE_QT4)
 
 ## =====================
 ## = Compilation rules =
@@ -32,6 +84,7 @@ GENERATE_EXPORT_HEADER(
 TARGET_LINK_LIBRARIES(
   ${LIBRARY_NAME}
   cpPlugins_Pluma
+  ${QT_LIBRARIES}
   ${ITK_LIBRARIES}
   ${VTK_LIBRARIES}
   )