Skip to content

Commit

Permalink
PCH: Sketcher GUI PCH Enable
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahtahiriyo authored and wwmayer committed May 16, 2019
1 parent 74b3169 commit bb38abd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Mod/Sketcher/Gui/CMakeLists.txt
Expand Up @@ -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
)
Expand Down

0 comments on commit bb38abd

Please sign in to comment.