SET(LIBRARY_NAME creaImageIO)
-
+#-----------------------------------------
+#SOURCES
FILE(GLOB SOURCES_CREAIMAGEIO
# SQLite
CppSQLite3.cpp
# settings
creaImageIOSettings.cpp
creaImageIOGimmickView.cpp
-)
+ )
+#--------------------------------------------
+
IF(USE_WXWIDGETS)
- FILE(GLOB SOURCES_CREAIMAGEIO_DIALOG
- creaImageIOGimmickReaderDialog.cpp
- )
- SOURCE_GROUP("Source Files\\Reader Dialog" FILES ${SOURCES_CREAIMAGEIO_DIALOG})
+ FILE(GLOB SOURCES_CREAIMAGEIO_DIALOG
+ creaImageIOGimmickReaderDialog.cpp
+ )
+ SOURCE_GROUP("Source Files\\Reader Dialog" FILES ${SOURCES_CREAIMAGEIO_DIALOG})
ENDIF(USE_WXWIDGETS)
+
+#--------------------------------------------
# Attributed tree data structure
FILE(GLOB SOURCES_CREAIMAGEIO_TREE
creaImageIOTree.cpp
creaImageIOTreeHandlerImageAdder.cpp
creaImageIOSQLiteTreeHandler.cpp
creaImageIOOutputModel.cpp
- )
+ )
+
+#--------------------------------------------
+ # Image Readers
IF(USE_GDCM)
- FILE(GLOB SOURCES_CREAIMAGEIO_IMG_DICOM_READER
- creaImageIODicomImageReader.cpp)
+ FILE(GLOB SOURCES_CREAIMAGEIO_IMG_DICOM_READER
+ creaImageIODicomImageReader.cpp
+ )
ENDIF(USE_GDCM)
IF(USE_GDCM2)
- FILE(GLOB SOURCES_CREAIMAGEIO_IMG_DICOM_READER
- creaImageIODicomImageReader2.cpp
- creaImageIODicomScanner.cpp)
+ FILE(GLOB SOURCES_CREAIMAGEIO_IMG_DICOM_READER
+ creaImageIODicomImageReader2.cpp
+ creaImageIODicomScanner.cpp
+ )
ENDIF(USE_GDCM2)
- # Image Readers
+
FILE(GLOB SOURCES_CREAIMAGEIO_IMG_READER
creaImageIOSimpleView.cpp
creaImageIOAbstractImageReader.cpp
creaImageIOUltrasonixImageReader.cpp
creaImageIOVtkImageReader.cpp
creaImageIOQMultiThreadImageReader.cpp
- ${SOURCES_CREAIMAGEIO_IMG_DICOM_READER}
+ ${SOURCES_CREAIMAGEIO_IMG_DICOM_READER}
)
-
+#--------------------------------------------
# The wxWidgets-based components
if (USE_WXWIDGETS)
-FILE(GLOB SOURCES_CREAIMAGEIO_WX
- creaImageIOWxSimpleDlg.cpp
- creaImageIOWxAttributeSelectionPanel.cpp
- creaImageIOWxCustomizeConfigPanel.cpp
- creaImageIOWxDescriptorPanel.cpp
- creaImageIOWxEditFieldsPanel.cpp
- creaImageIOWxExportDlg.cpp
- creaImageIOWxDumpPanel.cpp
- creaImageIOWxGimmickView.cpp
- creaImageIOWxGimmickReaderDialog.cpp
- creaImageIOWxGimmickFrame.cpp
- creaImageIOWxGimmickPanel.cpp
- creaImageIOWxGimmickTools.cpp
- creaImageIOWxListenerPanel.cpp
- creaImageIOWxPACSConnectionPanel.cpp
- creaImageIOWxTreeView.cpp
- creaImageIOWxOutputDlg.cpp
- # Viewer
- creaImageIOWxViewer.cpp
- creaImageIOExternalGimmick.cpp
- BlockScopeWxApp.cpp
- creaImageIOListener.cpp
- creaImageIOMultiThreadImageReader.cpp
- )
- SOURCE_GROUP("Source Files\\GUI" FILES ${SOURCES_CREAIMAGEIO_WX})
-endif()
-
+ FILE(GLOB SOURCES_CREAIMAGEIO_WX
+ creaImageIOWxSimpleDlg.cpp
+ creaImageIOWxAttributeSelectionPanel.cpp
+ creaImageIOWxCustomizeConfigPanel.cpp
+ creaImageIOWxDescriptorPanel.cpp
+ creaImageIOWxEditFieldsPanel.cpp
+ creaImageIOWxExportDlg.cpp
+ creaImageIOWxDumpPanel.cpp
+ creaImageIOWxGimmickView.cpp
+ creaImageIOWxGimmickReaderDialog.cpp
+ creaImageIOWxGimmickFrame.cpp
+ creaImageIOWxGimmickPanel.cpp
+ creaImageIOWxGimmickTools.cpp
+ creaImageIOWxListenerPanel.cpp
+ creaImageIOWxPACSConnectionPanel.cpp
+ creaImageIOWxTreeView.cpp
+ creaImageIOWxOutputDlg.cpp
+ # Viewer
+ creaImageIOWxViewer.cpp
+ creaImageIOExternalGimmick.cpp
+ BlockScopeWxApp.cpp
+ creaImageIOListener.cpp
+ creaImageIOMultiThreadImageReader.cpp
+ )
+ SOURCE_GROUP("Source Files\\GUI" FILES ${SOURCES_CREAIMAGEIO_WX})
+endif(USE_WXWIDGETS)
+
+#--------------------------------------------
# USE QT, need to transform files (moc mechanism)
IF (USE_QT4)
#cpp
)
- QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP})
- SOURCE_GROUP("Source Files\\GUI" FILES ${MOC_SOURCES})
+ QT4_WRAP_CPP(MOC_SOURCES
+ ${QT4_HEADERS_TO_WRAP}
+ )
+ SOURCE_GROUP("Source Files\\GUI" FILES
+ ${MOC_SOURCES}
+ )
- # UI
- FILE(GLOB UI_FILES QtGUI/*.ui)
- QT4_WRAP_UI(UI_SOURCES ${UI_FILES})
- #SOURCE_GROUP("UI Files" FILES ${UI_FILES})
- SOURCE_GROUP("Source Files\\GUI" FILES ${UI_SOURCES})
+ # UI
+ FILE(GLOB UI_FILES QtGUI/*.ui)
+ QT4_WRAP_UI(UI_SOURCES ${UI_FILES})
+ #SOURCE_GROUP("UI Files" FILES ${UI_FILES})
+ SOURCE_GROUP("Source Files\\GUI" FILES ${UI_SOURCES})
ENDIF(USE_QT4)
IF(USE_XERCES)
-FILE(GLOB SOURCES_CREAIMAGEIO_OUTPUT
- creaImageIOOutputModel.cpp
- creaImageIOOutputModelParser.cpp
- )
-SOURCE_GROUP("Source Files\\Output" FILES ${SOURCES_CREAIMAGEIO_OUTPUT})
+ FILE(GLOB SOURCES_CREAIMAGEIO_OUTPUT
+ creaImageIOOutputModel.cpp
+ creaImageIOOutputModelParser.cpp
+ )
+ SOURCE_GROUP("Source Files\\Output" FILES ${SOURCES_CREAIMAGEIO_OUTPUT})
ENDIF(USE_XERCES)
# Header Files
-FILE(GLOB HEADER_CREAIMAGEIO #creaImageIOImagePointerHolder.h CppSQLite3.h)
+FILE(GLOB HEADER_CREAIMAGEIO creaImageIOImagePointerHolder.h CppSQLite3.h)
#*.h)
FILE(GLOB SOURCES_CREAIMAGEIO_PACS PACS/*.cpp)
FILE(GLOB HEADER_CREAIMAGEIO_PACS PACS/*.h)
INCLUDE_DIRECTORIES(
# ${PROJECT_BINARY_DIR}
${PROJECT_SOURCE_DIR}/src
-
)