Extend FreeCAD WebAssembly runtime support
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
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:
@@ -367,6 +367,11 @@ endif(FREECAD_USE_PCH)
|
||||
target_sources(FreeCADApp PRIVATE ${FreeCADApp_SRCS})
|
||||
target_link_libraries(FreeCADApp ${FreeCADApp_LIBS})
|
||||
|
||||
if(EMSCRIPTEN)
|
||||
# PropertyListsT uses catch-and-fallback when Python assigns an object list.
|
||||
target_compile_options(FreeCADApp PRIVATE "-fexceptions")
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
target_compile_definitions(FreeCADApp PRIVATE WIN32_LEAN_AND_MEAN)
|
||||
target_compile_options(FreeCADApp PRIVATE /wd4251 /wd4273 /wd4275)
|
||||
|
||||
Reference in New Issue
Block a user