PCH: Fem Gui Enable

This commit is contained in:
Abdullah Tahiri
2019-05-16 18:07:02 +02:00
committed by wmayer
parent 0382e2dd75
commit 88782f5cbc

View File

@@ -370,6 +370,11 @@ SET(FemGui_SRCS
${FemGui_SRCS_Post}
)
if(FREECAD_USE_PCH)
add_definitions(-D_PreComp_)
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${FemGui_SRCS})
ADD_MSVC_PRECOMPILED_HEADER(FemGui PreCompiled.h PreCompiled.cpp PCH_SRCS)
endif(FREECAD_USE_PCH)
SET(FemGuiIcon_SVG
Resources/icons/FemWorkbench.svg