بنقرة واحدة
build
// Use when: configuring, building, packaging, installing, or debugging CMake/CI/dependency/runtime-path issues in hiredis-happ.
// Use when: configuring, building, packaging, installing, or debugging CMake/CI/dependency/runtime-path issues in hiredis-happ.
Use when: running hiredis-happ tests, adding regression coverage, debugging CTest failures, or planning Redis/raw/cluster integration tests.
Use when: updating AGENTS.md, CLAUDE.md, compatibility shims, Agent Skills, source indexes, or cross-tool AI configuration for hiredis-happ.
Use when: reviewing or modifying hiredis-happ C++ code, Redis/hiredis async lifecycle, cluster routing, command ownership, tests, or CI risk.
| name | build |
| description | Use when: configuring, building, packaging, installing, or debugging CMake/CI/dependency/runtime-path issues in hiredis-happ. |
Use this skill for CMake configuration, local builds, packaging changes, CI workflow edits, and dependency/runtime lookup problems.
AGENTS.md for global guardrails.CMakeLists.txt, project/cmake/, and relevant CI files before changing build logic.atframework/ and cmake-toolset/ as dependency submodules unless the task explicitly targets them or they block this repository's build.Preferred validation build:
cmake -S . -B build_jobs_review -DPROJECT_HIREDIS_HAPP_ENABLE_UNITTEST=ON -DPROJECT_HIREDIS_HAPP_ENABLE_SAMPLE=ON -DATFRAMEWORK_CMAKE_TOOLSET_THIRD_PARTY_LOW_MEMORY_MODE=ON
cmake --build build_jobs_review --config RelWithDebInfo
For Linux/macOS single-config generators, use -DCMAKE_BUILD_TYPE=RelWithDebInfo and omit --config if appropriate.
Before running tests or samples on Windows, prepend the third-party install bin directory. Prefer resolving it from build_jobs_review/CMakeCache.txt instead of hardcoding an MSVC version suffix:
$thirdPartyInstallDir = Select-String -Path "$PWD\build_jobs_review\CMakeCache.txt" -Pattern '^PROJECT_THIRD_PARTY_INSTALL_DIR:PATH=(.+)$' | ForEach-Object { $_.Matches[0].Groups[1].Value } | Select-Object -First 1
if (-not $thirdPartyInstallDir) { $thirdPartyInstallDir = Get-ChildItem "$PWD\third_party\install" -Directory | Where-Object { $_.Name -like 'windows-*-msvc-*' } | Sort-Object Name -Descending | Select-Object -First 1 -ExpandProperty FullName }
if (-not $thirdPartyInstallDir) { throw "Could not locate the third-party install directory. Configure the build first." }
$env:PATH = "$thirdPartyInstallDir\bin;$env:PATH"
If this is missing, hiredis-happ-test.exe can fail before main() with 0xC0000135 because hiredis.dll is not discoverable.
${{ ... }} exactly.PATH, and static/shared build differences.doc/ROADMAP.md or the relevant doc/playbook.<hiredis_happ.h>.git diff --check for docs/build-only changes.