Save FreeCAD WebAssembly development state
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled

This commit is contained in:
2026-09-07 18:58:02 +08:00
parent 2778e3f9c2
commit f2eaf096d8
113 changed files with 30708 additions and 119 deletions

View File

@@ -127,11 +127,11 @@ if (OCC_FOUND)
TKV3d
TKRWMesh
)
if(FREECAD_WEB)
# The Web kernel does not build OCCT's MeshVS presentation library.
# Part/CAM App targets do not reference MeshVS symbols; keeping this
# desktop-only visualisation dependency in the Web OCAF closure makes
# otherwise GUI-free probes fail at link time.
if(FREECAD_WEB AND (NOT FREECAD_WEB_ENABLE_FEM OR NOT EXISTS "${OCC_LIBRARY_DIR}/libTKMeshVS.a"))
# The Web kernel may omit OCCT's MeshVS presentation library even when
# FEM is enabled in another build tree. Part/CAM/Import App targets do
# not reference MeshVS symbols, so do not emit a dangling -lTKMeshVS
# into otherwise GUI-free probe link closures.
list(REMOVE_ITEM OCC_OCAF_LIBRARIES TKMeshVS)
endif()