Skip to content

Commit

Permalink
PCH: PartDesign 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 ab986d9 commit 55a5f65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Mod/PartDesign/Gui/CMakeLists.txt
Expand Up @@ -274,6 +274,13 @@ SET(PartDesignGui_SRCS
${Python_SRCS}
)

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


SET(PartDesignGuiIcon_SVG
Resources/icons/PartDesignWorkbench.svg
)
Expand Down

0 comments on commit 55a5f65

Please sign in to comment.