Build

From owent/libatbus · View interactive version

Build is an AI agent skill from the GitHub repository owent/libatbus. Use when: configuring or building libatbus with CMake, editing or reviewing CMake generation/dependency rules, changing shared/static builds, or adjusting bus ID/build type options.

How to use this skill

Skill file

Build (libatbus)

This repo uses CMake (>= 3.24) and requires C++17.

Typical build flow

clangd --compile-commands-dir=... or an existing configured build tree; if no user setting is readable, use build.

<BUILD_DIR>/_agent_tmp/... for agent scratch.

Incremental build stability

add_custom_target, add_executable, add_library, or target_sources as a blocking defect, including generated,

copied, and other non-handwritten files.

configure_file, file(CONFIGURE), file(GENERATE), or a temporary file plus cmake -E copy_if_different.

real output/byproduct.

Run tests via CTest

Key CMake options

Tip: Prefer RelWithDebInfo (or Release) for benchmarks/production; Debug has significant overhead.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.