summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetup.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-02 15:50:17 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-02 15:50:17 (GMT)
commit800cbd0550466794cf853c6fb4dc0349e245220c (patch)
tree6a55206bc76ac9a72f99906f341a8b7115879f8d /Source/QtDialog/CMakeSetup.cxx
parentdcf21dd90b816d06b43716ce96e496fe3d591594 (diff)
downloadCMake-800cbd0550466794cf853c6fb4dc0349e245220c.zip
CMake-800cbd0550466794cf853c6fb4dc0349e245220c.tar.gz
CMake-800cbd0550466794cf853c6fb4dc0349e245220c.tar.bz2
ENH: Beginnings of a Qt UI for CMake.
Diffstat (limited to 'Source/QtDialog/CMakeSetup.cxx')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
new file mode 100644
index 0000000..655a4cf
--- /dev/null
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -0,0 +1,21 @@
+
+#include <QApplication>
+
+#include "cmSystemTools.h"
+
+#include "CMakeSetupDialog.h"
+
+int main(int argc, char** argv)
+{
+ QApplication app(argc, argv);
+ app.setApplicationName("CMakeSetup");
+ app.setOrganizationName("Kitware");
+
+ // TODO handle CMake args
+
+ CMakeSetupDialog dialog;
+ dialog.show();
+
+ return app.exec();
+}
+