]> Creatis software - creaImageIO.git/blobdiff - src2/CMakeLists.txt
*** empty log message ***
[creaImageIO.git] / src2 / CMakeLists.txt
index 6c0c6f1d9decdcdb84dd01ea7d776913c8c635e3..602e0bfefb6bba7b34de1ce66d891a6200a7efae 100644 (file)
@@ -4,31 +4,24 @@ SET(LIBRARY_NAME creaImageIO2)
 FILE(GLOB SOURCES_CREAIMAGEIO  
   # SQLite 
   CppSQLite3.cpp
-  
-
-  
   # 
   creaImageIOGimmick.cpp
   creaImageIOSynchron.cpp
-  creaImageIOListener.cpp
   creaImageIOPACSConnection.cpp
 
   # Abstract views
-  creaImageIOGimmickView.cpp
   creaImageIOTreeView.cpp
 
-  
-  # 
-  BlockScopeWxApp.cpp
-  creaImageIOGimmickReaderDialog.cpp
+  # settings
+  creaImageIOSettings.cpp
 
+   BlockScopeWxApp.cpp
+  creaImageIOGimmickReaderDialog.cpp
   #  Viewer
   creaImageIOWxViewer.cpp
-  
-  
-  # settings
-  creaImageIOSettings.cpp
-  )
+  creaImageIOGimmickView.cpp
+  creaImageIOListener.cpp
+)
  
  # Attributed tree data structure
 FILE(GLOB SOURCES_CREAIMAGEIO_TREE
@@ -48,13 +41,14 @@ FILE(GLOB SOURCES_CREAIMAGEIO_IMG_READER
          creaImageIOAbstractImageReader.cpp
          creaImageIODicomImageReader.cpp
          creaImageIOImageReader.cpp
-         creaImageIOMultiThreadImageReader.cpp
          creaImageIOUltrasonixImageReader.cpp
          creaImageIOVtkImageReader.cpp
-         )
+         creaImageIOMultiThreadImageReader.cpp
+         )
 
 
 # The wxWidgets-based components
+if (USE_WXWIDGETS)
 FILE(GLOB SOURCES_CREAIMAGEIO_WX
          creaImageIOWxGimmickView.cpp
          creaImageIOWxTreeView.cpp
@@ -69,6 +63,8 @@ FILE(GLOB SOURCES_CREAIMAGEIO_WX
          creaImageIOWxPACSConnectionPanel.cpp
          creaImageIOWxDescriptorPanel.cpp
          )
+endif()
+
 # Header Files   
 FILE(GLOB HEADER_CREAIMAGEIO creaImageIOImagePointerHolder.h)
 FILE(GLOB SOURCES_CREAIMAGEIO_PACS PACS/*.cpp)