Build and verify the candidate-only FreeCAD naming bridge and OCCT worker path, including three-stage StringHasher restoration. Add Datum, ShapeBinder, attachment-mode, and PartDesign structure oracles plus offline SDK build plans and CI boundary checks.
14 lines
730 B
CMake
14 lines
730 B
CMake
# Candidate-only wrapper around the pinned Emscripten 3.1.69 platform file.
|
|
include("/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake")
|
|
|
|
# FreeCAD declares Base/App/Part as SHARED. For this candidate, collect their
|
|
# wasm object files as static archives and link shared dependencies separately.
|
|
set(CMAKE_SHARED_LIBRARY_SUFFIX ".a")
|
|
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_AR> rcs <TARGET> <OBJECTS>")
|
|
set(CMAKE_CXX_CREATE_SHARED_LIBRARY "<CMAKE_AR> rcs <TARGET> <OBJECTS>")
|
|
|
|
# FreeCAD's native compiler setup uses the CMake UNIX boolean to add
|
|
# --undefined,dynamic_lookup. Emscripten emits SHARED as a relocatable object,
|
|
# so that native-only linker branch must stay disabled for this candidate.
|
|
set(UNIX FALSE)
|