source: tspsg/src/pch.h @ 2d4659ddfe

appveyorimgbotreadme
Last change on this file since 2d4659ddfe was 07e43cf61a, checked in by Oleksii Serdiuk, 12 years ago

Improved compilation time by about 30%.

By reducing number of includes to only required minimum.

NOTE: Compilation time comparison was done by measuring compilation time
while using only one thread (i.e., "make -j1").

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*!
2 * \file pch.h
3 * \author Copyright (C) 2007-2012 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
4 *
5 *  $Id: $Format:%h %ai %an$ $
6 *  $URL: http://tspsg.info/ $
7 *
8 * \brief Precompiled Header (PCH) file
9 *
10 *  <b>TSPSG: TSP Solver and Generator</b>
11 *
12 *  This file is part of TSPSG.
13 *
14 *  TSPSG is free software: you can redistribute it and/or modify
15 *  it under the terms of the GNU General Public License as published by
16 *  the Free Software Foundation, either version 3 of the License, or
17 *  (at your option) any later version.
18 *
19 *  TSPSG is distributed in the hope that it will be useful,
20 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
21 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 *  GNU General Public License for more details.
23 *
24 *  You should have received a copy of the GNU General Public License
25 *  along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
26 */
27
28#ifdef __cplusplus
29#   include "globals.h"
30#   include <QtCore>
31#   include <QtGui>
32#   if defined(QT_NO_SVG) && !defined(NOSVG)
33#       define NOSVG
34#   endif
35#   if !defined(NOSVG)
36#       include <QtSvg>
37#   endif // NOSVG
38#   if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
39#       include <QtConcurrent>
40#       include <QtPrintSupport>
41#   endif
42#   ifndef HANDHELD
43#       include "qttoolbardialog.h"
44#   endif
45#endif // __cplusplus
Note: See TracBrowser for help on using the repository browser.