diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-02 15:50:17 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-02 15:50:17 (GMT) |
commit | 800cbd0550466794cf853c6fb4dc0349e245220c (patch) | |
tree | 6a55206bc76ac9a72f99906f341a8b7115879f8d /Source/QtDialog/CMakeSetup.cxx | |
parent | dcf21dd90b816d06b43716ce96e496fe3d591594 (diff) | |
download | CMake-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.cxx | 21 |
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(); +} + |