- Add scripts/kicad/build-pcbnew.sh with clean-by-default and --no-clean flag - Remove old scripts/build-pcbnew-wasm.sh (moved to scripts/kicad/) - Add Boost build script with Emscripten toolset for Boost.Locale - Add header download scripts for CURL and libgit2 (stub libraries) - Add CMake Find modules for cross-compilation compatibility: - FindGLM.cmake: Reads version from setup.hpp - FindZSTD.cmake: Explicit sysroot paths - FindCURL.cmake: Header-only stub - FindSPNAV.cmake: Disabled (3D mouse not needed in browser) - FindCairo.cmake: Finds our built Cairo - FindPixman.cmake: Finds our built Pixman - Findlibgit2.cmake: Header-only stub - Fix OpenCASCADE build: correct extracted dir name, add CMake policy - Fix Protobuf build: correct GitHub release tag format (v21.12 not v3.21.12) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
380 B
CMake
10 lines
380 B
CMake
# FindSPNAV.cmake for WASM cross-compilation
|
|
# SPNAV (SpaceNavigator 3D mouse) is not supported in browser
|
|
# This stub marks it as not found
|
|
|
|
set(SPNAV_FOUND FALSE)
|
|
set(SPNAV_INCLUDE_DIR "")
|
|
set(SPNAV_LIBRARY "")
|
|
|
|
# Mark as not found but don't error - KiCad handles missing SPNAV gracefully
|
|
message(STATUS "SPNAV not available for WASM build (3D mouse not supported in browser)")
|