[Web] Gui: enable precompiled headers
This commit is contained in:
@@ -37,10 +37,15 @@ SET(WebGuiIcon_SVG
|
||||
Resources/icons/WebWorkbench.svg
|
||||
)
|
||||
|
||||
if(FREECAD_USE_PCH)
|
||||
add_definitions(-D_PreComp_)
|
||||
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${WebGui_SRCS})
|
||||
ADD_MSVC_PRECOMPILED_HEADER(WebGui PreCompiled.h PreCompiled.cpp PCH_SRCS)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
add_library(WebGui SHARED ${WebGui_SRCS} ${WebGuiIcon_SVG})
|
||||
target_link_libraries(WebGui ${WebGui_LIBS})
|
||||
|
||||
|
||||
SET_BIN_DIR(WebGui WebGui /Mod/Web)
|
||||
SET_PYTHON_PREFIX_SUFFIX(WebGui)
|
||||
|
||||
|
||||
@@ -20,5 +20,4 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef WEBGUI_PRECOMPILED_H
|
||||
#define WEBGUI_PRECOMPILED_H
|
||||
|
||||
@@ -32,22 +31,24 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef FC_OS_WIN32
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
// Qt Core
|
||||
// Qt
|
||||
#include <QApplication>
|
||||
#include <QDesktopServices>
|
||||
#include <QFileInfo>
|
||||
#include <QIcon>
|
||||
#include <QLatin1String>
|
||||
|
||||
// Qt Toolkit
|
||||
#ifndef __QtAll__
|
||||
# include <Gui/QtAll.h>
|
||||
#endif
|
||||
|
||||
// QtWebKit
|
||||
#include <QWebFrame>
|
||||
#include <QWebView>
|
||||
#include <QWebSettings>
|
||||
#include <QLineEdit>
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QMouseEvent>
|
||||
#include <QNetworkCookie>
|
||||
#include <QNetworkRequest>
|
||||
#include <QRegularExpression>
|
||||
#include <QRegularExpressionMatch>
|
||||
#include <QSignalMapper>
|
||||
#include <QStatusBar>
|
||||
#include <QTextStream>
|
||||
#include <QUrl>
|
||||
|
||||
#endif //_PreComp_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user