dart-build

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<!-- AUTO-GENERATED FILE - DO NOT EDIT MANUALLY --> <!-- Source: .claude/skills/dart-build/SKILL.md --> <!-- Sync script: scripts/sync_ai_commands.py --> <!-- Run `pixi run sync-ai-commands` to update -->
<!-- 自动生成文件 - 请勿手动编辑 --> <!-- 来源:.claude/skills/dart-build/SKILL.md --> <!-- 同步脚本:scripts/sync_ai_commands.py --> <!-- 运行 `pixi run sync-ai-commands` 进行更新 -->

DART Build System

DART构建系统

Load this skill when working with DART's build system.
在处理DART的构建系统时加载此技能。

Quick Commands

快速命令

bash
pixi run configure    # Configure CMake
pixi run build        # Build
pixi run test         # Run tests
pixi run test-all     # Full validation (lint + build + tests)
pixi run lint         # Format code
bash
pixi run configure    # 配置CMake
pixi run build        # 构建
pixi run test         # 运行测试
pixi run test-all     # 完整验证(代码检查 + 构建 + 测试)
pixi run lint         # 代码格式化

Full Documentation

完整文档

For complete build instructions, read:
docs/onboarding/building.md
For build system internals (CMake, dependencies):
docs/onboarding/build-system.md
如需完整的构建说明,请阅读:
docs/onboarding/building.md
关于构建系统内部机制(CMake、依赖):
docs/onboarding/build-system.md

Common Issues

常见问题

IssueSolution
CMake not found
pixi install
Missing dependencyCheck
pixi.toml
Build failure
pixi run configure
then
pixi run build
Linking errorCheck CMakeLists.txt in relevant module
问题解决方案
找不到CMake
pixi install
缺少依赖项检查
pixi.toml
构建失败先执行
pixi run configure
再执行
pixi run build
链接错误检查相关模块中的CMakeLists.txt文件

Key Files

关键文件

  • pixi.toml
    - Package management
  • CMakeLists.txt
    - Build configuration
  • cmake/
    - CMake modules
  • pixi.toml
    - 包管理
  • CMakeLists.txt
    - 构建配置
  • cmake/
    - CMake模块