Change in precompiled headers.
--HG-- branch : develop
This commit is contained in:
parent
f3fbb1cd9c
commit
8293f69761
|
@ -21,6 +21,9 @@ QMAKE_CXX = ccache g++
|
||||||
|
|
||||||
# Precompiled headers (PCH)
|
# Precompiled headers (PCH)
|
||||||
PRECOMPILED_HEADER = stable.h
|
PRECOMPILED_HEADER = stable.h
|
||||||
|
win32-msvc* {
|
||||||
|
PRECOMPILED_SOURCE = stable.cpp
|
||||||
|
}
|
||||||
|
|
||||||
# directory for executable file
|
# directory for executable file
|
||||||
DESTDIR = bin
|
DESTDIR = bin
|
||||||
|
@ -48,6 +51,7 @@ include(xml/xml.pri)
|
||||||
SOURCES += main.cpp\
|
SOURCES += main.cpp\
|
||||||
mainwindow.cpp \
|
mainwindow.cpp \
|
||||||
tablewindow.cpp \
|
tablewindow.cpp \
|
||||||
|
stable.cpp
|
||||||
|
|
||||||
HEADERS += mainwindow.h \
|
HEADERS += mainwindow.h \
|
||||||
options.h \
|
options.h \
|
||||||
|
|
23
stable.cpp
Normal file
23
stable.cpp
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
/****************************************************************************
|
||||||
|
**
|
||||||
|
** Copyright (C) 2013 Valentina project All Rights Reserved.
|
||||||
|
**
|
||||||
|
** This file is part of Valentina.
|
||||||
|
**
|
||||||
|
** Tox is free software: you can redistribute it and/or modify
|
||||||
|
** it under the terms of the GNU General Public License as published by
|
||||||
|
** the Free Software Foundation, either version 3 of the License, or
|
||||||
|
** (at your option) any later version.
|
||||||
|
**
|
||||||
|
** Valentina is distributed in the hope that it will be useful,
|
||||||
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
** GNU General Public License for more details.
|
||||||
|
**
|
||||||
|
** You should have received a copy of the GNU General Public License
|
||||||
|
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
// Build the precompiled headers.
|
||||||
|
#include "stable.h"
|
10
stable.h
10
stable.h
|
@ -19,6 +19,14 @@
|
||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef STABLE_H
|
||||||
|
#define STABLE_H
|
||||||
|
|
||||||
|
/* I like to include this pragma too,
|
||||||
|
so the build log indicates if pre-compiled headers
|
||||||
|
were in use. */
|
||||||
|
#pragma message("Compiling precompiled headers.\n")
|
||||||
|
|
||||||
/* Add C includes here */
|
/* Add C includes here */
|
||||||
|
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
|
@ -31,3 +39,5 @@
|
||||||
#include <QtSvg/QtSvg>
|
#include <QtSvg/QtSvg>
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // STABLE_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user