PCH: Enable PartGui PCH
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user