[Robot] Gui: enable precompiled header
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
@@ -20,5 +20,4 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
@@ -50,10 +50,6 @@
|
||||
// STL
|
||||
#include <sstream>
|
||||
|
||||
#ifdef FC_OS_WIN32
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
// Qt
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
|
||||
Reference in New Issue
Block a user