summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeGUIExec.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-09-14 18:47:41 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-09-23 18:10:40 (GMT)
commit41e223deb37767d9beb8c4462b8b8df88ba2dedf (patch)
tree707701518f1431d17e683092987245639e0d387e /Source/QtDialog/CMakeGUIExec.cxx
parentb7995b62f0270a505f10c5eb625b531024189ada (diff)
downloadCMake-41e223deb37767d9beb8c4462b8b8df88ba2dedf.zip
CMake-41e223deb37767d9beb8c4462b8b8df88ba2dedf.tar.gz
CMake-41e223deb37767d9beb8c4462b8b8df88ba2dedf.tar.bz2
CMake GUI: Split up into libraries, add test shim
Diffstat (limited to 'Source/QtDialog/CMakeGUIExec.cxx')
-rw-r--r--Source/QtDialog/CMakeGUIExec.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeGUIExec.cxx b/Source/QtDialog/CMakeGUIExec.cxx
new file mode 100644
index 0000000..1572112
--- /dev/null
+++ b/Source/QtDialog/CMakeGUIExec.cxx
@@ -0,0 +1,15 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+
+#include <QApplication>
+
+class CMakeSetupDialog;
+
+void SetupDefaultQSettings()
+{
+}
+
+int CMakeGUIExec(CMakeSetupDialog* /*window*/)
+{
+ return QApplication::exec();
+}