]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/CMakeLists.txt
...
[cpPlugins.git] / lib / cpPlugins / CMakeLists.txt
index 8efbc6c02a63ba26be4ff48a61ef9ab910487f95..bb3bdb9f2bff1f12d4dcbe9ff5179dd23a0f9bb4 100644 (file)
@@ -29,13 +29,26 @@ FILE(GLOB lib_SOURCES_CXX "*.cxx")
 IF(USE_QT4)
   SET(
     lib_QT_UI
+    ActorAxesProperties.ui
+    ActorImageProperties.ui
+    ActorPolyDataProperties.ui
     )
   SET(
     lib_QT_Headers
+    ActorProperties.h
+    ActorAxesProperties.h
+    ActorImageProperties.h
+    ActorPolyDataProperties.h
+    ActorPropertiesQtDialog.h
     ParametersQtDialog.h
     )
   SET(
     lib_QT_Sources
+    ActorProperties.cxx
+    ActorAxesProperties.cxx
+    ActorImageProperties.cxx
+    ActorPolyDataProperties.cxx
+    ActorPropertiesQtDialog.cxx
     ParametersQtDialog.cxx
     )
   SET(
@@ -83,14 +96,16 @@ SET(
 
 SET(
   target_LIBRARIES
-  cpPlugins_ITKInstances
+  ${ITK_LIBRARIES}
   ${VTK_LIBRARIES}
+  cpExtensions
+  cpPlugins_tinyxml2
+  ${cpPlugins_LIBRARIES}
   )
 IF(NOT WIN32)
   SET(
     target_LIBRARIES
     ${target_LIBRARIES}
-    cpPlugins_tinyxml2
     dl
     )
 ENDIF(NOT WIN32)
@@ -105,6 +120,7 @@ SET_TARGET_PROPERTIES(
   VERSION "${prj_VER}"
   SOVERSION "${prj_sVER}"
   )
+ADD_DEPENDENCIES(${lib_NAME} ${cpPlugins_LIBRARIES})
 GENERATE_EXPORT_HEADER(
   ${lib_NAME}
   BASE_NAME ${lib_NAME}