- 新增 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>
76 lines
1.2 KiB
Plaintext
76 lines
1.2 KiB
Plaintext
# =====================
|
||
# 构建产物
|
||
# =====================
|
||
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/
|