All Classes Namespaces Functions Variables Enumerations Properties Pages
main.cpp
1 /*
2 
3 Pencil2D - Traditional Animation Software
4 Copyright (C) 2012-2020 Matthew Chiawen Chang
5 
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; version 2 of the License.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 */
16 
17 #define CATCH_CONFIG_RUNNER
18 #include "catch.hpp"
19 
20 #include <QApplication>
21 
22 int main(int argc, char* argv[])
23 {
24  QApplication a(argc, argv);
25 
26  int result = Catch::Session().run(argc, argv);
27 
28  return result;
29 }