From 6dbf254b7d5b19b77eb4716b24a1768f48b11248 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 3 May 2015 02:53:34 +0200 Subject: -Add install target to make file. -Add comments and class descriptions. --- cli/main.cpp | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'cli/main.cpp') diff --git a/cli/main.cpp b/cli/main.cpp index 2c4ddfa..f005cc3 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -26,6 +26,20 @@ #include #include +/** + * @page Dice + * The cli for DiceParser the new dice system from rolisteam. + * @section Build and install + * To build this program, type these command: + * - mkdir build + * - cd build + * - cmake ../ + * - make + * - make install + * @return + */ + + QTextStream out(stdout, QIODevice::WriteOnly); @@ -156,9 +170,9 @@ Options:\n\ int main(int argc, char *argv[]) { - QCoreApplication app(argc,argv); + /*QCoreApplication app(argc,argv); QCoreApplication::setApplicationName("dice"); - QCoreApplication::setApplicationVersion("1.0"); + QCoreApplication::setApplicationVersion("1.0");*/ QStringList commands; -- cgit v1.2.3-70-g09d2