Forráskód Böngészése

ENH: skeleton dicom application

Steve Pieper 15 éve
szülő
commit
8d5c9d47fd

+ 13 - 0
Applications/ctkDICOM/CMakeLists.txt

@@ -0,0 +1,13 @@
+
+INCLUDE_DIRECTORIES(${CTK_BASE_INCLUDE_DIRS})
+# Create executable
+ADD_EXECUTABLE(ctkDICOM
+  ctkDICOM.cxx
+)
+
+SET(KIT_LIBRARIES
+  ${CTK_BASE_LIBRARIES}
+  ${QT_LIBRARIES}
+  )
+
+TARGET_LINK_LIBRARIES(ctkDICOM ${KIT_LIBRARIES})

+ 15 - 0
Applications/ctkDICOM/ctkDICOM.cxx

@@ -0,0 +1,15 @@
+//
+// QT includes
+#include <QApplication>
+
+// ctk includes
+#include "qCTKDCMTKQueryWidget.h"
+
+int main(int argc, char** argv)
+{
+  QApplication app(argc, argv);
+  
+  qCTKDCMTKQueryWidget query;
+  query.show();
+  return app.exec();
+}