PCH: PartDesign GUI PCH Enable

This commit is contained in:
Abdullah Tahiri
2019-05-15 17:48:01 +02:00
committed by wmayer
parent ab986d9a00
commit 55a5f652e1

View File

@@ -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
)