Skip to content

Commit

Permalink
PCH: Enable PartGui PCH
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahtahiriyo authored and wwmayer committed May 16, 2019
1 parent 8b477e6 commit 8550ce9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Mod/Part/Gui/CMakeLists.txt
Expand Up @@ -258,6 +258,12 @@ SET(PartGui_SRCS
TaskAttacher.cpp
)

if(FREECAD_USE_PCH)
add_definitions(-D_PreComp_)
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${PartGui_SRCS})
ADD_MSVC_PRECOMPILED_HEADER(PartGui PreCompiled.h PreCompiled.cpp PCH_SRCS)
endif(FREECAD_USE_PCH)

SET(PartGuiIcon_SVG
Resources/icons/PartWorkbench.svg
)
Expand Down

0 comments on commit 8550ce9

Please sign in to comment.