summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetup.cxx
diff options
context:
space:
mode:
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();
+}
+