rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options
This commit is contained in:
@@ -47,11 +47,11 @@ SET(Measure_SRCS
|
||||
${Python_SRCS}
|
||||
)
|
||||
|
||||
if(BUILD_USE_PCH)
|
||||
if(FREECAD_USE_PCH)
|
||||
add_definitions(-D_PreComp_)
|
||||
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" Measure_CPP_SRCS ${Measure_SRCS})
|
||||
ADD_MSVC_PRECOMPILED_HEADER(Measure PreCompiled.h PreCompiled.cpp Measure_CPP_SRCS)
|
||||
endif(BUILD_USE_PCH)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
SET(Measure_Scripts
|
||||
../Init.py
|
||||
|
||||
@@ -361,11 +361,11 @@ SET(Mesh_SRCS
|
||||
Segment.h
|
||||
)
|
||||
|
||||
if(BUILD_USE_PCH)
|
||||
if(FREECAD_USE_PCH)
|
||||
add_definitions(-D_PreComp_)
|
||||
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${Core_SRCS} ${Mesh_SRCS})
|
||||
ADD_MSVC_PRECOMPILED_HEADER(Mesh PreCompiled.h PreCompiled.cpp PCH_SRCS)
|
||||
endif(BUILD_USE_PCH)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
add_library(Mesh SHARED ${Core_SRCS} ${WildMagic4_SRCS} ${Mesh_SRCS})
|
||||
target_link_libraries(Mesh ${Mesh_LIBS})
|
||||
|
||||
@@ -154,11 +154,11 @@ SOURCE_GROUP("Features" FILES ${Draw_SRCS})
|
||||
SOURCE_GROUP("Geometry" FILES ${Geometry_SRCS})
|
||||
SOURCE_GROUP("Python" FILES ${Python_SRCS})
|
||||
|
||||
if(BUILD_USE_PCH)
|
||||
if(FREECAD_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(BUILD_USE_PCH)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
add_library(TechDraw SHARED ${TechDraw_SRCS} ${Draw_SRCS} ${TechDrawAlgos_SRCS}
|
||||
${Geometry_SRCS} ${Python_SRCS})
|
||||
|
||||
Reference in New Issue
Block a user