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.

Informações da origem

Repositório
spiriMirror/libuipc
Última atividade na origem
21 de abril de 2026 às 13:36
Idioma detectado do SKILL.md
inglês
Estrelas
335
Forks
68

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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 |
Ver no GitHub