# wzpan/cmake-demo

《CMake入门实战》源码

Repository: https://github.com/wzpan/cmake-demo
Canonical: https://ross.abutalabs.com/products/cmake-demo
Homepage: http://www.hahack.com/codes/cmake/
Language: CMake
License Family: other
Topics: hahack, cmake, tutorial
Last push: 2023-08-20T02:40:49+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3404, "days_push": 1109, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2300, forks 891 (observed 2026-08-28T04:06:35.390237+00:00)

## What it is
Source code for the Chinese tutorial 'CMake 入门实战' (CMake in Action), a hands-on guide to CMake with progressive example projects. It teaches writing CMakeLists.txt files to build C/C++ projects across platforms.

## Use cases
- learn cmake from scratch
- tutorial on writing cmakelists.txt
- examples of building c++ projects with cmake
- understand how cmake generates makefiles
- cross-platform build configuration examples
- cmake demo projects for beginners

## When to choose
- you are a beginner learning CMake through step-by-step examples
- you want a free tutorial with runnable demo code
- you prefer learning CMake in Chinese

## When to avoid
- you need an official or up-to-date CMake reference
- you want advanced CMake topics like custom generators or packaging
- you need English-language documentation

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: build-tool, developer-tools, documentation
- domain: developer-tools, tutorials
- platform: cross-platform, windows
- tags: cmake, tutorial, build-systems, c-plus-plus, examples, command-line, linux, macos

## Member repositories
- wzpan/cmake-demo (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.390237+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:40:14.013809+00:00, confidence not recorded.
  - readme: https://github.com/wzpan/cmake-demo (fetched 2026-08-28T04:06:35.390237+00:00, sha cbca6f05ff63)
  - homepage: http://www.hahack.com/codes/cmake/ (fetched 2026-08-29T10:20:28.599763+00:00, sha 86767fd500ca)
  - site_page: https://www.hahack.com/about (fetched 2026-08-29T10:20:28.604520+00:00, sha 3306d6b8e81a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
