[Robot] Gui: enable precompiled header

This commit is contained in:
Uwe
2022-12-09 02:54:12 +01:00
parent 79e169a5de
commit 0695c81789
3 changed files with 6 additions and 6 deletions

View File

@@ -119,11 +119,16 @@ SET(RobotGui_SRCS
${RobotGui_SRCS_TaskDlg}
)
if(FREECAD_USE_PCH)
add_definitions(-D_PreComp_)
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${RobotGui_SRCS})
ADD_MSVC_PRECOMPILED_HEADER(RobotGui PreCompiled.h PreCompiled.cpp PCH_SRCS)
endif(FREECAD_USE_PCH)
SET(RobotGuiIcon_SVG
Resources/icons/RobotWorkbench.svg
)
add_library(RobotGui SHARED ${RobotGui_SRCS} ${RobotGuiIcon_SVG})
target_link_libraries(RobotGui ${RobotGui_LIBS})

View File

@@ -20,5 +20,4 @@
* *
***************************************************************************/
#include "PreCompiled.h"

View File

@@ -50,10 +50,6 @@
// STL
#include <sstream>
#ifdef FC_OS_WIN32
# include <windows.h>
#endif
// Qt
#include <QAction>
#include <QApplication>