PCH: Sketcher GUI PCH Enable

This commit is contained in:
Abdullah Tahiri
2019-05-15 17:49:54 +02:00
committed by wmayer
parent 74b3169dba
commit bb38abd6dd

View File

@@ -140,6 +140,13 @@ SET(SketcherGui_SRCS
ViewProviderPython.h
)
if(FREECAD_USE_PCH)
add_definitions(-D_PreComp_)
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${SketcherGui_SRCS})
ADD_MSVC_PRECOMPILED_HEADER(SketcherGui PreCompiled.h PreCompiled.cpp PCH_SRCS)
endif(FREECAD_USE_PCH)
SET(SketcherGuiIcon_SVG
Resources/icons/SketcherWorkbench.svg
)