feat: add candidate FreeCAD naming SDK and attachment oracles
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.
This commit is contained in:
13
config/emscripten-freecad-candidate-toolchain.cmake
Normal file
13
config/emscripten-freecad-candidate-toolchain.cmake
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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)
|
||||
Reference in New Issue
Block a user