## = 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 =
TARGET_LINK_LIBRARIES(
${LIBRARY_NAME}
cpPlugins_Pluma
+ ${QT_LIBRARIES}
${ITK_LIBRARIES}
${VTK_LIBRARIES}
)
+## ========================
+## -- Installation rules --
+## ========================
+
+INSTALL(
+ TARGETS ${LIBRARY_NAME}
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib/static
+ )
+INSTALL(
+ DIRECTORY .
+ DESTINATION include/cpPlugins/Interface
+ FILES_MATCHING PATTERN "*.h"
+ )
+INSTALL(
+ DIRECTORY .
+ DESTINATION include/cpPlugins/Interface
+ FILES_MATCHING PATTERN "*.hxx"
+ )
+INSTALL(
+ DIRECTORY .
+ DESTINATION include/cpPlugins/Interface
+ FILES_MATCHING PATTERN "*.hpp"
+ )
+INSTALL(
+ FILES
+ ${PROJECT_BINARY_DIR}/lib/cpPlugins/Interface/${LIBRARY_NAME}_Export.h
+ DESTINATION include/cpPlugins/Interface
+ )
+
## eof - $RCSfile$