mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #213 Added precompiled header for MSVC in blackmisc, blackcore, blackgui.
This commit is contained in:
@@ -4,7 +4,7 @@ QT += network dbus gui svg widgets
|
||||
|
||||
TARGET = blackgui
|
||||
TEMPLATE = lib
|
||||
CONFIG += blackconfig blackmisc blackcore
|
||||
CONFIG += blackconfig blackmisc blackcore precompile_header
|
||||
|
||||
contains(BLACK_CONFIG, Static) {
|
||||
CONFIG += staticlib
|
||||
@@ -13,10 +13,7 @@ contains(BLACK_CONFIG, Static) {
|
||||
INCLUDEPATH += ..
|
||||
DEPENDPATH += . ..
|
||||
|
||||
# PRECOMPILED_HEADER = stdpch.h
|
||||
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
|
||||
DEFINES += USING_PCH
|
||||
}
|
||||
PRECOMPILED_HEADER = pch/pch.h
|
||||
|
||||
DEFINES += LOG_IN_FILE BUILD_BLACKGUI_LIB
|
||||
|
||||
|
||||
70
src/blackgui/pch/pch.h
Normal file
70
src/blackgui/pch/pch.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/* Copyright (C) 2017
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
|
||||
/* ---------
|
||||
* ! WARNING !
|
||||
* ---------------------------------------------------------------------------------
|
||||
* >>>> CHANGES IN ANY HEADERS INCLUDED HEREIN WILL TRIGGER A FULL REBUILD OF EVERYTHING! <<<<
|
||||
* ---------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifdef BLACKGUI_PCH_H
|
||||
#error "Don't #include this file"
|
||||
#else
|
||||
#define BLACKGUI_PCH_H
|
||||
|
||||
#include "blackcore/pch/pch.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "blackcore/context/contextallinterfaces.h"
|
||||
|
||||
#include <QAbstractButton>
|
||||
#include <QAbstractItemModel>
|
||||
#include <QAbstractItemView>
|
||||
#include <QAbstractScrollArea>
|
||||
#include <QAbstractTableModel>
|
||||
#include <QComboBox>
|
||||
#include <QDialog>
|
||||
#include <QDockWidget>
|
||||
#include <QDrag>
|
||||
#include <QDragEnterEvent>
|
||||
#include <QDragLeaveEvent>
|
||||
#include <QDragMoveEvent>
|
||||
#include <QDropEvent>
|
||||
#include <QFrame>
|
||||
#include <QImage>
|
||||
#include <QLabel>
|
||||
#include <QLayout>
|
||||
#include <QLayoutItem>
|
||||
#include <QLineEdit>
|
||||
#include <QMenu>
|
||||
#include <QMenuBar>
|
||||
#include <QMessageBox>
|
||||
#include <QPoint>
|
||||
#include <QPushButton>
|
||||
#include <QRadioButton>
|
||||
#include <QRect>
|
||||
#include <QSize>
|
||||
#include <QSlider>
|
||||
#include <QSplitter>
|
||||
#include <QStackedWidget>
|
||||
#include <QStyle>
|
||||
#include <QTabBar>
|
||||
#include <QTabWidget>
|
||||
#include <QTableView>
|
||||
#include <QTextEdit>
|
||||
#include <QValidator>
|
||||
#include <QWidget>
|
||||
#include <QWindow>
|
||||
|
||||
#endif // __cplusplus
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user