+ add option to switch off precompiled header

This commit is contained in:
wmayer
2018-07-25 20:17:11 +02:00
parent 08fcd58e9d
commit d3ef6905ff
17 changed files with 49 additions and 28 deletions

View File

@@ -162,11 +162,11 @@ SET(TechDraw_LineGroupFile
LineGroup/LineGroup.csv
)
if(MSVC)
if(BUILD_USE_PCH)
#add_definitions(-D_PreComp_)
#GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" TechDrawCPP_SRCS ${TechDraw_SRCS} ${Draw_SRCS} )
#ADD_MSVC_PRECOMPILED_HEADER(TechDraw PreCompiled.h PreCompiled.cpp TechDrawCPP_SRCS)
endif(MSVC)
endif(BUILD_USE_PCH)
add_library(TechDraw SHARED ${TechDraw_SRCS} ${Draw_SRCS} ${TechDrawAlgos_SRCS}
${Geometry_SRCS} ${Python_SRCS})