Skip to content

Commit

Permalink
docs: improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
msclock authored Sep 3, 2024
1 parent 37b66c7 commit ef699a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ git clone --depth 1 https://github.com/msclock/cmake-modules.git cmake/cmake-mod
Add to CMAKE_MODULE_PATH and refer the modules.
```cmake
list(APPEND CMAKE_MODULE_PATH cmake/cmake-modules)
include(module/path/without/.cmake/suffix)
include(cmake-modules/cmake/ProjectDefault) # Entry module for general projects
include(module/path/without/.cmake/suffix) # Include other modules
```

### Using registry
### Use registry

There presents a cmake registry facilitates the cmake modules to refer. An example is [here](https://github.com/msclock/cpp-scaffold).
The repo has been registered in the [cmake-registry](https://github.com/msclock/cmake-registry). Here is the [usage](https://github.com/msclock/cpp-scaffold).

## Modules

Expand Down

0 comments on commit ef699a6

Please sign in to comment.