impress_voice_input/.gitignore
impressionyang 8c2e787a25 feat: 添加 Windows 交叉编译支持与 ONNX Runtime MinGW 兼容方案
- 新增 C API shim (ort_api_shim.h) 解决 MinGW 与 ONNX Runtime 的 SAL 注解/_stdcall 兼容性问题
- 新增轻量级 C++ 包装器 (ort_minimal) 替代 onnxruntime_cxx_api.h
- cmake/dependencies.cmake 支持 Windows/ Linux 平台自动识别依赖路径
- 修复音频采集 paNonInterleaved bug(指针被误解析为 float 导致 RMS=inf)
- 修复 Windows 热键和 UI 相关代码
- 添加 MinGW 交叉编译工具链配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-11 11:50:16 +08:00

76 lines
1.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =====================
# 构建产物
# =====================
build/
cmake-build-*/
out/
*.exe
*.dll
*.so
*.dylib
*.a
*.lib
*.o
*.obj
# =====================
# IDE / 编辑器
# =====================
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
*.code-workspace
# =====================
# CMake
# =====================
CMakeCache.txt
CMakeFiles/
cmake_install.cmake
Makefile
compile_commands.json
# =====================
# 第三方依赖 (单独管理)
# =====================
# PortAudio 仓库体积大,不纳入版本控制
third_party/portaudio/
# ONNX Runtime 体积大,不纳入版本控制
third_party/onnxruntime/
# 保留 header-only 库(体积小)
!third_party/dr_libs/
!third_party/nlohmann_json/
# =====================
# 模型文件 (体积大,不包含)
# =====================
models/*.onnx
models/*.bin
models/*.pb
models/*.gguf
!models/.gitkeep
# =====================
# 用户数据
# =====================
# 默认配置保留,用户配置不纳入
!configs/default_config.json
configs/user_config.json
configs/config.json
# 日志
*.log
# 构建目录(所有平台)
build-win/
build_linux/
build_win/
dist/
# Windows 第三方依赖ONNX Runtime Win x64 预编译二进制)
third_party/onnxruntime-win-x64/