Skip to main content

cmake-workflow

Build and test the libuipc project using CMake. Use when building the project, running cmake configure/build commands, compiling with RelWithDebInfo, running Catch2 tests, or when the user asks how to build or test libuipc.

소스 정보

저장소
spiriMirror/libuipc
최근 소스 활동
2026년 4월 21일 13:36
감지된 SKILL.md 언어
영어
스타
335
포크
68

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cmake-workflow
description
Build and test the libuipc project using CMake. Use when building the project, running cmake configure/build commands, compiling with RelWithDebInfo, running Catch2 tests, or when the user asks how to build or test libuipc.
# CMake Workflow for libuipc ## Build The build directory is `libuipc/build`. Run all cmake commands from there. **Configure:** ```bash cd libuipc/build cmake -S .. ``` **Build:** ```bash cmake --build . -j32 --config RelWithDebInfo ``` Use `-j32` for parallel compilation. The config is always `RelWithDebInfo`. ## Testing Tests use **Catch2**. After a successful build, run the test executable directly — no separate test runner command is needed. Find the compiled test binary in the build output (typically under `libuipc/build/bin/` or the relevant subdirectory) and execute it: ```bash ./path/to/test_executable ``` Catch2 test binaries accept standard flags such as: - `--list-tests` — list all test cases - `[tag]` — filter by tag - `"test name"` — run a specific test by name ## Quick Reference | Step | Command | |------|---------| | Configure | `cmake -S ..` (from `libuipc/build`) | | Build | `cmake --build . -j32 --config RelWithDebInfo` | | Run tests | Execute the test binary directly |
GitHub에서 보기