# === 编译产物目录 (Build Directories) ===
build/
build_linux/
build_windows/
build_msvc/
bin/
lib/
out/
docs/

# === 编译器产生的中间文件 (Objects & Libraries) ===
*.o
*.obj
*.so
*.a
*.lib
*.dll
*.exe
*.pdb
*.exp
*.ilk

# === CMake 产生的中间文件 (CMake Artifacts) ===
CMakeCache.txt
CMakeFiles/
CMakeScripts/
cmake_install.cmake
Makefile
install_manifest.txt
compile_commands.json
# 之前脚本自动生成的交叉编译文件
mingw-toolchain.cmake

# === IDE 配置文件 (IDE Specific) ===
# VS Code
.vscode/
.vscode/settings.json
.vscode/tasks.json
.vscode/launch.json
.vscode/c_cpp_properties.json
# Visual Studio (MSVC)
.vs/
*.sln
*.vcxproj
*.filters
*.user
*.suo
*.db
*.opendb

# === 系统与临时文件 (System & Temp) ===
.DS_Store
Thumbs.db
*.tmp
*.log
*.bak

# Python 字节码
__pycache__/
*.py[cod]
*$py.class

# 虚拟环境
.venv/
env/
venv/
.hatch/

# 编译输出
dist/
build/
*.egg-info/

# 文档输出
site/

# IDE 设置
.vscode/
.idea/

# 单元测试与覆盖率
.pytest_cache/
.tox/
.coverage
htmlcov/

# 本地环境配置文件
.env